7

I am using NUnit to test my model, but what is the best framework to test the WPF GUI, That make it easy to test user input, binding ...

Thank you

3
  • see UI Automation Commented Jun 24, 2011 at 11:46
  • There must be something recommended out there, this is a common problem I guess Commented Jun 24, 2011 at 11:52
  • Try white.codeplex.com Commented Jun 24, 2011 at 11:52

2 Answers 2

9

I prefer to use MVVM.

This moves most of the code to the ViewModel. The ViewModel can be tested using the testing tools in Visual Studio such as MS Test or NUnit.

For UI tests that remain (mostly custom controls) you could use a UI Automation test suite such as White on codeplex.

Sign up to request clarification or add additional context in comments.

Comments

2

TestComplete is a great piece of software for automated UI testing - works with WPF. http://smartbear.com/products/qa-tools/automated-testing/

It will cost you though: at least $999.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.