Manage Tests (Compact 2013)
3/26/2014
You can add your own Windows Embedded Compact Test Kit (CTK) test cases to a test case catalog and create test pass templates by using the Test Manager.
Add a Test Case to a Test Catalog
You can add your own test cases to a test case catalog by using the Test Manager.
To open the Test Manager
In the Windows Embedded Compact Test Kit (CTK), on the Tests menu, click Manage Tests.
In the Test Manager window that opens, click the Test Case Information tab on the right to add a test case to a test catalog or to edit the properties of an existing test case.
Click the Test Pass Templates tab to create a new test pass template or to modify existing templates. For more information, see Create a Test Pass.
Click Done to exit the Test Manager.
To add a test case to a catalog
In the CTK, on the File menu, point to New, and then click Test Case.
In the Test Manager window that opens, on the Test Case Information tab on the right, click the New button.
Under Selected test case information, do the following:
- In the Name box, type a name for your test case.
- In the Catalog list, select the catalog to add the test to. By default, Windows Embedded Test Catalog is selected.
- In the Category list, select a category for the test case.
- In the Run type list, select a type of run to use for the test case: Fully Automated, Partially Automated, or Manual.
If you select Automated, in the Test harness list, select the test harness to use for the automated run: Execution Engine, TUX, or Tux.net. For more information, see CTK Test Harness and Logging Mechanisms. - In the Command line box, type a new command if you do not want to use the default command.
- Under Supported architectures, select each CPU architecture that you want your test case to support.
Each time you select a check box, an Add/Remove Test Files dialog box opens. In the Add/Remove Test Files dialog box, select the main binary file for the selected architecture, and then add support files.
Click the Advanced button, in the Advanced Test Information dialog box, and then do the following:
- In the Test type list, select a test type for your test case.
- In the Run sub-type list, select a run sub-type.
- In the Required peripherals list, select required peripherals to use in peripheral detection.
- In the Cancel command line box, type a command line to use to stop the test.
- If the test is automated or semi-automated and runs from the CTK UI, in the List command line box, type a command line to use for running the test from the test pass list.
- If the test requires a server to run on the development computer, in the Server command box, type a server application to run.
- (Optional) In the Server command line box, type a server command line command.
- Select Enable connection heartbeat to enable continuous checking to see if the test device is connected.
- In the Description box, type descriptive notes about the test case.
Click OK.
Click Save to add the test case to the catalog that you selected.