Read original post by András Velvárt at Dotneteers
In the previous posts of this series, we managed to get NUnit up and running to test WP7 code outside of the Windows Phone Emulator, in test runners such as NUnit, ReSharper and NCrunch, but paid the price by running into assembly load issues. We created a TestBase class to be the base class for our classes, and added convenience functions to it such as setting a global General.IsTesting flag, comparing arrays and verifying whether INotifyPropertyCollection calls have been performed properly.
In this post, I am going to concentrate on testing ViewModels that use Laurent Bugnion’s MVVM Light Toolkit.