-
Notifications
You must be signed in to change notification settings - Fork 34
Integration Testing
scudco edited this page Sep 13, 2010
·
1 revision
Integration testing is meant for tests that should executed in fully integrated environments. Many enterprise stacks are comprised of multiple Sites that need to talk to one another. An example might be testing that an order placed in your e-commerce site should show up in an order management system.
Currently there are no conventions or generators around these types of tests. It is suggested that tags be used to organize files as there is no easy way to determine how Sites interact with other Sites.
You can execute integration tests by tag by doing something like $ rake spec:integration TAGS=foo,bar
This will execute all integration specs tagged with both foo AND bar.