Partager via


How to Use the CETK to Test a Driver

You can use the Microsoft Windows CE .NET Test Kit (CETK) to test a device driver for a Windows CE–based platform. You can connect the CETK to a Windows CE–based device and then select a test or tests to run on the target device. The tests that the CETK provides target several categories of peripheral devices. You should use the CETK to test a device driver after you develop the driver and after you have a running OS on your target device.

To track your progress in the following table, select the check box next to each step.

  Step Topic
1. Create a new platform, open an existing platform, or start a Windows CE–based device. For more information, in Windows CE .NET Help see Creating a Platform.
2. If you have not built your Windows CE OS image, use Platform Builder to add support for the CETK to the platform, and then build the platform.

If you have already built your Windows CE OS image, you can add support for the CETK to a running target device by copying the Clientside.exe file to the target device. In %_WINCEROOT%\Others\Wcetk, the Clientside.exe file is located in a directory with a name corresponding to the name of the CPU for your target device.

Starting the CETK
3. If you want to define the characteristics of a custom test, you can create a custom Tux Test Harness (Tux) dynamic-link library (DLL). After creating a Tux DLL, you can use the User-Defined Test Wizard to add your test to the CETK.

The CETK provides a standard set of tests that you can run on your target device.

Building a Tux DLL with Platform Builder
4. Configure the settings for communication between the CETK and the target device, and then connect the CETK to the target device. Configuring the CETK to Communicate with a Target Device
5. Designate a directory on your development workstation where you can store the results of CETK tests that are run. Selecting a Directory to Store Test Results
6. You can configure the CETK to consolidate the results of several tests into a .cab file after the tests are complete. You can also choose to encrypt the results of a test.

Encryption prepares the results of a test for submission to the Driver Validation Program.

Choosing a Way to Store Test Results
7. Familiarize yourself with the CETK tests and decide which test or tests you want to run. CETK Tests
8. Run a single test.

You can also run all of the tests that are selected for a target device. For more information, see Running the CETK Tests.

Running a Single Test in the CETK
9. View the results of your test or tests. Viewing the Results of a Test

If you select multiple tests to run on the target device, you can save your selection of tests for future use as a test suite. For more information, see Creating a Suite of Tests.

See Also

Windows CE .NET Test Kit | CETK Tool Operation | How to Create a Device Driver

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.