O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to the Windows Phone Unit Test Framework

The API of the Windows Phone UTF is almost the same as the Silverlight Unit Test Framework for the browser. In fact, it is almost a superset of the Microsoft desktop CLR Unit Test Framework. This cross-screen compatibility means that you can run all your existing unit tests just as they are.

With Windows Phone 8, the unit testing story has been substantially improved. Unfortunately, however, tooling support for the Windows Phone UTF remains nonexistent. Unlike the Microsoft desktop UTF, there is no Visual Studio integration. This means you cannot run individual unit tests from Visual Studio as you might with a desktop application. Windows Phone test projects are Windows Phone XAML apps. Therefore, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required