Run a Test Case with Test Runner
Last update December 14, 2014
To run a single test case with Test Runner, specify the following options:
- -t or --testCase name of the test case document
- -r or --stagingDoc name of the staging document
To stage remotely, then also specify the following options:
- -cs or --coordinatorService name of the coordinator server
If no -cs is supplied to designate a coordinator server to retrieve from the registry, then any coordinator that is specified in the MAR/MARI file is used. If neither coordinator is specified, then any default coordinator that is specified in the registry is used. If there is no default coordinator, then the test runs locally. If " - cs local" is used, then the test runs locally.
- -m or --testRegistry name of the registry
For more options, see Other Test Runner Options.
The following example runs the multi-tier-combo test case that is located in the examples project.
TestRunner -t ../examples/Tests/multi-tier-combo.tst -r ../examples/StagingDocs/Run1User1Cycle.stg -a
Was this helpful?
Thank you for your feedback.