开发者

Unit testing WPF GUI Framework

开发者 https://www.devze.com 2023-03-15 08:16 出处:网络
I am using NUnit to test my model, but w开发者_如何学Chat is the best framework to test the WPF GUI, That make it easy to test user input, binding ...

I am using NUnit to test my model, but w开发者_如何学Chat is the best framework to test the WPF GUI, That make it easy to test user input, binding ...

Thank you


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消