You can add your own test cases (with Windows Embedded Compact Test Kit--CTK) to a test case catalog and create test pass templates using the Test Manager. 



To open the Test Manager:

  1. In Windows Embedded Compact Test Kit, 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 text case. For more information, see Adding a Test Case to Test Catalog below.
  3. Click the Test Pass Templates tab to create a new test pass template or to modify existing templates. For more information, see Creating a Test Pass.
  4. Click Done to exit the Test Manager.

Adding a Test Case to a Test Catalog

You can add your own test cases to a test case catalog using the Test Manager. To add a test case to a catalog,

  1. In Windows Embedded Compact Test Kit, 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 the Selected test case information heading, 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.

  • In the Command line box, type a new command if you do not want to use the default command.
  • Under Supported architectures, select the checkbox for each CPU architecture you want your test case to support.

Each time you select a checkbox, 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 add support files.

  • Click the Advanced button, in the Advanced Test Information dialog box, 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 run 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 desktop 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 the Enable connection heartbeat check box to enable continuous check 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 you selected.

Windows Embedded Test Catalog

The Windows Embedded test catalog is the master list of all of the test cases included in the CTK. Each test area, such as Display or Networking, contains a number of individual tests that can be selected and run. The current Windows Embedded test catalog includes the following tests:

  • Accelerometer
  • Audio
  • Backlight
  • Battery
  • Bootloader
  • Communication Bus
  • Display
  • File System
  • Input
  • Kernel
  • Multimedia
  • Networking
  • NLED (Notification light-emitting diode)
  • OAL (OEM Abstraction Layer)
  • Power Manager
  • Security
  • Shell
  • Smart Card
  • Storage Media
  • USB

See Also