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?
相关问题
- VNC control for WPF application
- Dependencies while implementing Mocking in Junit4
- How to unit test a reactive component where ngCont
- WPF Binding from System.Windows.SystemParameters.P
- XAML: Applying styles to nested controls
Josh Smith unit tests one here. Hope that is what you are looking for.
The ViewModel sample of the WPF Application Framework (WAF) shows how the ViewModel can be tested via the unit test framework.