Share via


Add Your Test DLL to the CTK (Compact 7)

3/12/2014

After you successfully build your test DLL, you can add the DLL file to the CTK by using the following instructions.

To add a test DLL to the CTK

  1. In Windows, click Start, click All Programs, click WindowsEmbeddedCompact7TestKit, and then click WindowsEmbeddedCompact7TestKit.

  2. In the Start Page - Windows Embedded Compact Test Kit window, on the Start page, under Getting Started, click Create a Custom Test Pass Template.

  3. In the Test Manager window, on the Test Pass Templates tab, click My Templates, and then click New.

  4. Rename the new template MyDriverTestTemplate, press Enter, and then click Done.

  5. On the Start page, under Getting Started, click Create a Custom Test Case.

  6. In the Test Manager window, under Test Case Explorer, click the New Category button (its icon is a yellow folder with a star).

  7. Rename the new category My Category, and then press Enter.

  8. In the Test Manager window, under Test Case Explorer, click the New Test button (its icon is a white document with a star), and then rename the new test MyDeviceDriverTest.

  9. Verify that the value for Category is My Category.

  10. Click Run type, and then click Fully Automated.

  11. Click Test harness, and then click Tux.

  12. In the Supported architectures list, select the architecture of your hardware platform. (For the virtual CEPC, select x86 (Device).) The Add/Remove Test Files dialog box opens.

  13. In the Add/Remove Test Files dialog box, click Browse, navigate to the DriverTUXTest.dll file that you created in Create Your Test DLL for the CTK, click the file, and then click Open.

  14. In the Add/Remove Test Files dialog box, click OK.

  15. In the Test Manager window, on the Test Case Information tab, click Save, and then click Done.

See Also

Concepts

Test Your Driver by Using the CTK