Is there a framework that supports UnitTesting of WPF applications. It should not be to difficult to establishe, because I don't want that writing the tests takes ten times longer than implementing a small feature.
A:
1) test projects within visual studio can be used to unit test WPF applications, just like they can be used to test windows forms, asp.net and asp.net mvc applications, services, etc etc.
2) Testing takes time. Sometimes it takes ten times longer to test a piece of code than it did to write it. There's no TDD fairy.
Will
2009-05-27 13:06:50
A:
I am not really sure about WPF unit testing, but for Silverlight there is you have SilverUnit and Microsoft Silverlight Unit Test.
Ngu Soon Hui
2009-05-27 13:07:03
-1: WPF is .net (Silverlight is an entirely different entitty) - see http://www.cincomsmalltalk.com/userblogs/runarj/blogView?entry=3366522423
Jon Cage
2009-05-27 13:30:02
A:
You can try with NUnit, just like you'll do with any other component.
Optionally you can try MVC.
See CodeProject for MVCtoUnitTestinWPF
Hope it serves.
Sheldon
2009-05-27 13:08:49