Running a test suite
Test suites enable you to run multiple test harnesses or test scripts in a single step. You can update the list of test harnesses and test scripts to be run, and the build configuration from the Test Editor before running a test suite.
About this task
In the test suite, each test harness is associated with a test configuration (a TDP with associated configuration settings) and can be run a second time with another test configuration to provide comparison results. This can be useful for validation purposes.
Procedure
- In the project explorer, open the Test Suite folder and double-click the test suite to open the Test Suite editor.
-
In the Test harness section of the test editor window, to update
the test harness list, you can:
-
Save and click Run.
After running the test suite, you can see the run result details in the Run results for selected test harnesses with the run status (success, failed, inconclusive) in the test suite editor.
The Test Result folder in the Project Explorer contains the test results for each test harness and the generated test scripts within the test suite. You can generate a common, merged result file, which includes the results of all the test harnesses and the runtime analysis results by selecting multiple test suite results in the Project Explorer, and then right click and select Merge... from the menu.
- To open reports, right-click a Test result, select and select the appropriate report.
-
To order the test results, select Sort result files by ascending
date in
Note: In some environments, if you have installed the product in an existing Eclipse, the test result timestamps and verdicts are not properly displayed in the package explorer. To fix this issue, in the project explorer, click and ensure that only Working Sets, Test Embedded Elements, CDT Elements, and Resources are selected.