Creating test suites

A test suite contains multiple test harnesses that are run sequentially to provide global results for a project.

About this task

In the test suite, each test harness is associated with a test configuration (a TDP with associated configuration settings) and can optionally be run a second time with another test configuration to provide comparison results. This can be useful for certification purposes or to compare the results of a test on two different hardware platforms.

Procedure

To create a test suite:

  1. In the project explorer, right-click the project and select New > Test Suite.
  2. In the Create Test Suite wizard, select one or several test harnesses that you want to run together and click Next.
  3. Select the main test configuration for the test harness. The test configuration is an instance of a target deployment port (TDP) and its associated configuration settings and usually carries the name of the TDP.
  4. If you want to compare the test results with another test configuration, select Compare with and choose a secondary test configuration. This will run the test suite twice, using both the main configuration and the secondary configuration. You can use this option to run the same test suite on a native platform and an embedded platform, to ensure that results are consistent.
  5. Click Next.
  6. Specify a location and file name for the test suite, and click Finish.

Results

The test suite is created in the selected location in the project.
Feedback