There are several options for running a test  (with Windows Embedded Compact Test Kit--CTK) from the currently active test pass in the Test pass display window. 

  • You can run all of the tests in the test pass, which are run sequentially. This is the default option unless you deselect specific tests.
  • Choose which specific tests you want to run. To select the test to be run, select the check box next to the individual test case or test case node.
  • Select and run only one test or a particular test node.



Running All Tests in a Test Pass

To run a test, you first need to create a new test pass or open an existing test pass. For information about creating a new test pass, see Creating a Test Pass.

To run all the tests in a test pass

  • 1. In Windows Embedded Compact Test Kit, connect to a device. For more information, see Connecting to a Device.
  • 2. On the File menu, point to Open, and then click Test Pass.
  • 3. Select a test pass file in the Open dialog box, and then click Open.
  • 4. In the Test Pass display window, on the Tests menu, click Run Test Pass, or press the F5 key.

All the tests in the test pass will run, sequentially from the top down.

Running Select Test Cases

You can choose which specific tests you want to run during the test pass run.

To run multiple selected test cases in the test pass

  1. In Windows Embedded Compact Test Kit, connect to a device. For more information, see Connecting to a Device.
  2. On the File menu, point to Open, and then click Test Pass.
  3. In the Open dialog box, select a test pass file and then click Open.
  4. In the Test Pass display window, select the checkboxes of the test cases or test case nodes you want to run. Deselect the checkboxes of the test cases or test case nodes that you do not want to run.
  5. On the Test menu, click Run Test Pass, or press the F5 key.

All the selected test cases in the test pass will run, sequentially from the top down.

To run one specific test in the test pass

  1. In Windows Embedded Compact Test Kit, connect to a device. For more information, see Connecting to a Device.
  2. On the File menu, point to Open, and then click Test Pass.
  3. In the Open dialog box, select a test pass file and then click Open.
  4. In the Test Pass display window, select the individual test case or test case node you want to run.
  5. Right-click the selection and click Run Test.

The selected test or all of the tests in the selected node will run, sequentially from the top down.

Viewing Test Progress

As each test in the test pass is run, the Test pass display window shows the status of each test appended to each test name in brackets. For example, if a test named DirectDraw Performance Test is running the name is displayed as DirectDraw Performance Test [In Progress]. Also, the green status bar at the bottom of the Windows Embedded Compact Test Kit main window displays the progress of the test.

Once a test has completed its run, the results of the tests are displayed in the brackets appended to the test name. For example, DirectDraw Performance Test [Passed] or DirectDraw Performance Test [Failed]. In addition, the text color of the test name is changed to green if the test passed or red if the test fails.

As the tests are run, the Kernel Independent Transport Layer (KITL) debug message output is displayed in the Connection Output window.

Stopping a Test

You can stop a test in progress.  To stop a test,

  • On the Test menu, click Stop Test Pass.

Viewing Test Properties

Once you select a test case in the test pass, you can view the properties of the test case.

To view test properties

  1. In Windows Embedded Compact Test Kit, connect to a device. For more information, see Connecting to a Device.
  2. On the File menu, point to Open, and then click Test Pass.
  3. In the Open dialog box, select a test pass file and then click Open.
  4. On the test pass list, click on the test you want to view the properties for.
  5. If the Properties window is not visible, on the View menu, click Properties Window.

The Properties Window displays properties for the selected test.

Changing Command-Line Options

You can change the command-line options that a test case will use. For information on Tux test harness (TUX) command-line parameters, see Tux Command-Line Parameters.

To change the command-line option for a test

  1. In Windows Embedded Compact Test Kit, connect to a device. For more information, see Connecting to a Device.
  2. On the File menu, point to Open, and then click Test Pass.
  3. In the Open dialog box, select a test pass file and then click Open.
  4. On the test pass list, click on the test case you want to change.
  5. If the Properties window is not visible, on the View menu, click Properties Window.
  6. In the Properties window, select the Current Command Line text box.
  7. In the text box, type or modify the command line text to be used when you run the test.
  8. On the File menu, click Save Test Pass.

See Also