Details
Description
Currently there is no neat way to use cargo in your functional tests. The current examples included with cargo start and stop the server on a per-test basis, whereas for most functional test runs, you want to start the server, run all the tests, and then stop the server.
Other complications include that you want to pass more information back to your tests than just the url to test against. You may also want to pass information about what version of your software is deployed etc.
Another goal is to have multi-threaded tests, so that on large SMP machines, you can run tests against multiple application servers at the same time.
Attached a first pass of a test runner using Cargo (18Mar06).
Examples of how it is used. Note the JIRA CallbackFactory is used to pass specific properties to the tests (such as 'are we testing JIRA professional, or JIRA Enterprise)