Running a test harness

The test harness contains everything required to run the test.

About this task

The test harness associates the test cases with the source code and other required components to a test configuration. The test configuration is an instance of a target deployment port (TDP) with its association configuration settings.


To run a test harness:

In the project explorer, in the Test Harness folder, right-click the test harness and click Run As > Run Test Harness.


After running the test harness, in the project explorer, the Test Result folder contains the test results for each test harness included in the test suite. You can produce a common, merged result file, containing the results of all the test harnesses of the test, see details in the Merging test suite results page
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 correct this, in the project explorer, click View Menu > Customize View > Content and ensure that only Working Sets, HCL OneTest™ Embedded Elements, CDT Elements, and Resources are selected.