FAQ: Unit Testing WPF Applications

Visual Studio Unit Test Framework can be used to create unit tests that verify application logic, and data model in your WPF applications. Unit Test Framework is not suitable for testing UI of WPF applications. Coded UI Tests are the recommended approach for testing UI of WPF applications. These tests provide validation of user interface controls, and functional testing of user interface of WPF applications.