views:

1465

answers:

2

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?

+3  A: 

Josh Smith unit tests one here. Hope that is what you are looking for.

jlembke
A: 

The ViewModel sample of the WPF Application Framework (WAF) shows how the ViewModel can be tested via the unit test framework.

jbe