WDTF Quick Start
The Windows Driver Kit 8.0 provides an integrated solution for writing, deploying, and running tests that use the Windows Driver Test Framework (WDTF). Using the WDK, you can configure a remote computer for deploying, testing, and debugging a driver. When you configure the remote computer, the Windows Driver Test Framework runtime is installed.
Installing WDTF runtime library
To install WDTF runtime library using Visual Studio and the WDK
Install Visual Studio and then install the WDK.
Configure a remote computer for testing and deployment (Driver > Test > Configure computers...). When you configure the test computer, the Windows Driver Test Framework runtime is installed. For more information, see Deploying a Driver to a Test Computer and see Provision a computer for driver deployment and testing (WDK 8.1) or Provision a computer for driver deployment and testing (WDK 8).
To install WDTF runtime library manually
- When you install the WDK, the installation package for the Windows Driver Test Framework runtime is also installed. You need to copy the installation package to a test computer and run a command. For information, see WDTF Runtime Library and "Manually installing WDTF runtime library on a test computer (alternative method)."
Writing tests with WDTF
The WDK provides templates for writing tests with WDTF. See How to write a driver test using a Driver Test template. You can also use a template to create a WDTF SimpleIO plug-in for your target device. For information, see Writing a WDTF SimpleIO plug-in for your device.
Running WDTF tests
When you build your driver test in Visual Studio using a WDTF Driver test template, the new test will be available for deployment to a test computer. By default, the tests that you create will appear in the test category My Test Category. The names of the tests are based upon the test cases that you choose, and they will have names such as My Plug and Play Surprise Remove Test. During each build of the test, the tests will be overwritten and available to run in the Easily Run Tests feature. For more information, see How to test a driver at runtime using Visual Studio.