I keep reading about the benefits of using MVVM, especially for unit testing. So, now I need to write unit tests for my ViewModel. Does anyone have any examples of this? Should I just generate the unit tests using VS2008 and select those tests that appear important?
A:
The ViewModel sample of the WPF Application Framework (WAF) shows how the ViewModel can be tested via the unit test framework.
jbe
2009-10-02 18:09:25