Testing a WDF Driver (KMDF or UMDF)
This topic describes recommendations for testing a Kernel-Mode Driver Framework (KMDF) or User-Mode Driver Framework (UMDF) version 2 driver.
When testing your driver, you should:
Set the VerifierOn registry value to enable the framework's driver verification features. For more information about VerifierOn and other registry values that you can use when you are debugging and testing your driver, see Using KMDF Verifier and Using UMDF Verifier. For information about an application that helps you to use the framework's driver verification features, see WDF Verifier Control Application.
- For both UMDF versions 1 and 2, enable Application Verifier (AppVerif.exe) on Wudfhost.exe. For example:
appverif -enable handles locks heaps memory exceptions TLS -for WudfHost.exe
- Use the driver verification tools that are described in this documentation. For more information about these important tools, see:
To thoroughly test your driver, you must use both the framework's driver verification features and the driver verification tools.
For general information about testing your driver using Microsoft Visual Studio and the Windows Driver Kit (WDK), see Testing a Driver.