I\'m new to C# 4.0 and WPF and I\'m about to start a new application.
Coming from a C++/MFC world, I\'m interested in testing strategies used with the up to date technol
As Larry said White UI test framework can be used for UI testing WPF. This post explains this in more detail -
Testing WPF applications with the White UI Test framework: http://blogs.msdn.com/b/john_daddamio/archive/2008/04/04/testing-wpf-applications-with-the-white-ui-test-framework.aspx
Also have look at this article to know how to automate the UI testing:
Automating UI Tests In WPF Applications: http://msdn.microsoft.com/en-us/magazine/dd483216.aspx
Xaml team has come up with a XAML Compliance Suite to verify XAML(I haven't tried it myself though) -
http://blogs.msdn.com/b/llobo/archive/2010/07/07/xaml-compliance-suite-v1.aspx
Various third-party tools are also available for testing WPF application, like this one from AutomatedQA -
AutomatedQA’s TestComplete is a comprehensive automated testing tool that helps QA teams automate their functional, unit, regression and other testing types for a wide variety of application types, including Windows Presentation Foundation (WPF) applications.
http://www.automatedqa.com/products/testcomplete/testing-wpf-apps/
I would also suggest you to go through WPF Application Quality Guide from MS
This document provides an overview of testing Windows Presentation Foundation (WPF) applications and controls.
http://windowsclient.net/wpf/white-papers/wpf-app-quality-guide.aspx#intro