I\'ve been pushing my Google Fu to the limits trying to find the most recommended / stable setup for doing TDD + CI for Windows Phone applications. Can anyone who has successful
Well, there are at least 3 different ways to do TDD for Windows Phone apps.
Silverlight Unit Test Framework - written by Jeff Wilcox. Here you can find its latest update. It seems it is most popular way, there is a lot of information about this approach:
Also please check Visual Studio test project template so that you don't need to create test project manually. However, this solution requires running your tests on phone emulator what sometimes can be very annoying.
Portable Library Tools - a new Visual Studio add-in from Microsoft which enables you to create C# and Visual Basic libraries that run on a variety of .NET-based platforms without recompilation, including Windows Phone.
Check this post to see how to do TDD for Windows Phone with Portable Library Tools. Here you can find a Visual Studio extension.
The drawback of this approach is that this library has a limited assemblies support, thus most probably you cannot use everything that you have used to do. For example you cannot use commands (since ICommand lives in PresentationCore.dll), you cannot use MVVMLight as well, etc. From the other hand, it gives you more flexibility in your test project (you can use different mock frameworks,IoC containers run tests from VS, run tests with Resharper and so forth).