Compartilhar via


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

  1. In the Windows Embedded Compact Test Kit (CTK), on the Tests menu, click Manage Tests.

  2. 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.

  3. 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.

  4. Click Done to exit the Test Manager.

To add a test case to a catalog

  1. In the CTK, on the File menu, point to New, and then click Test Case.

  2. In the Test Manager window that opens, on the Test Case Information tab on the right, click the New button.

  3. Under Selected test case information, do the following:

    1. In the Name box, type a name for your test case.
    2. In the Catalog list, select the catalog to add the test to. By default, Windows Embedded Test Catalog is selected.
    3. In the Category list, select a category for the test case.
    4. 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.
    5. In the Command line box, type a new command if you do not want to use the default command.
    6. 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.
  4. Click the Advanced button, in the Advanced Test Information dialog box, and then do the following:

    1. In the Test type list, select a test type for your test case.
    2. In the Run sub-type list, select a run sub-type.
    3. In the Required peripherals list, select required peripherals to use in peripheral detection.
    4. In the Cancel command line box, type a command line to use to stop the test.
    5. 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.
    6. If the test requires a server to run on the development computer, in the Server command box, type a server application to run.
    7. (Optional) In the Server command line box, type a server command line command.
    8. Select Enable connection heartbeat to enable continuous checking to see if the test device is connected.
    9. In the Description box, type descriptive notes about the test case.
  5. Click OK.

  6. Click Save to add the test case to the catalog that you selected.

See Also

Concepts

Compact Test Kit Overview