Skip to main content

Test Your Hardware and Drivers

Thorough testing is critical when creating high-quality hardware and drivers.

Test Your Driver (Runtime Testing) by Using the Windows 8 Tools

After you complete the steps to Develop a Windows Driver, you can test your driver package using the integrated driver test and deployment framework that the WDK has added to Visual Studio. Use the Device Fundamental tests and Driver Verifier to test your driver and hardware.

Test Your Driver (Runtime Testing) by Using the Windows 7 Tools

After you complete the steps to Develop a Windows Driver, you can test your driver package in as many ways as possible:

  1. Set up your debugging environment. See “Setting Up the Debugger” in Getting Started with the Windows Driver Development Environment.
  2. Use all the general runtime checks, including the checked build of Windows, Driver Verifier, pool tagging, kernel logging, and Event Tracing:
    • Test your driver on each target operating system.
    • Test your driver on 32-bit and 64-bit versions of Windows.
    • Test and improve your driver until it runs cleanly in this environment
  3. Test your driver package by using specific tools, such as the WDF Verifier for Windows Driver Foundation (WDF) drivers. See Driver Development Tools.
  4. In addition to Microsoft-supplied tests, run your own tests that are specific to your driver.
  5. Disable any compile-time modifications and rerun the driver in your debugging environment.
  6. Run your driver on each target system, with a retail build and no debugging enabled, and verify that it works correctly.
  7. Run the Windows Logo Program tests, even if you do not plan to qualify your device for a Windows logo.

For additional driver testing guidance, see Getting Started with the Windows Driver Development Environment and Tools for Testing Drivers.

Test Your Device

Your device will undergo some testing when you test your driver, but you should also perform tests that specifically exercise the features of your hardware. You can use the Windows Device Testing Framework (WDTF) to create, manage, reuse, and extend device-centric, scenario-based automated tests.

Next Steps