Today I finally decided that I needed a proper unit test framework for my Windows Phone 7 applications, no more hidden links on the start page 😉
I knew I wanted to use Jeff Wilcox’s Silverlight Unit Test Framework but it wasn’t as straight forward as I wanted it to be. Eventually I found this very useful page by Michael Sync. Some of the details and links are a bit old so;
- Download (and remember to unblock) the necessary Dlls from Jeff Wilcox
- The Windows Phone template no longer stores the starting page in the App.xaml, ignore that and instead remove the ‘NavigationPage’ attribute from the ‘DefaultTask’ element in WMAppManifest.xml
Happy Unit Testing…