Enabling and disabling tests, services and families
The Test Selection window enables you to enable or disable particular SERVICE, TEST or FAMILY blocks in the generated test driver. By default, all elements of a test script are enabled. During the run, the Component Test will only execute elements that are enabled.
To open the Test Selection window:
-
In the Project Explorer, right-click a .ptu test script.
-
From the pop-up menu, select Test Selection. Select the Service or Family tabs to specify the elements that you want to enable or disable.
-
Use this Service tab to enable or disable one or several SERVICE or TEST blocks defined in the test driver.
-
Use this Family tab to enable or disable one or several FAMILY blocks defined in the test driver.
-
-
Select Use selection below to modify the default list of tests, services or families that you want to include in the test. If the option Use selection below is not selected, then all listed items are enabled, regardless of whether they appear selected or not.
-
Click Close.
Related Topics
About Component Testing for C and Ada | Test Script Structure