Summary

This chapter explored the Windows Phone Toolkit Unit Testing Framework. The chapter began with a walk-through of the creation of a unit test project. You saw how to create test classes and test methods and looked at the tag expressions editor, which provides a useful mechanism for selecting which tests are to be run during a test session.

The chapter then examined the UTF in greater detail by creating a simple chat client app. You saw how to test a viewmodel’s behavior before creating a UI and explored code driven UI testing. You also learned how to perform asynchronous testing and touched on the Microsoft Automation framework.

The chapter then examined some advanced topics, such as Inversion of Control and mocking and how to use a custom ...

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.