Running tests and test suites

You might decide to run tests individually or to create a regression suite and then add your tests to the suite.

Consider the following points:
  • Always check your environment setting before you run a test or test suite.
  • Include Log actions in your tests to enable you to debug console output.

If you prefer to run your regression pack as part of a continuous integration (CI) build process, use Apache Ant scripts to run your tests. An example of this is the use of Jenkins.

Take note of the following tips when working with Apache Ant scripts:
  • Generate Ant scripts for each test regression pack suite you want to run during CI and save them in a folder in the project's directory.
  • In the Ant scripts, change the hardcoded environment name to a variable that can be substituted at run time. This enables you to run the script in any environment you choose.