,

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 IoC container.

Finally, you saw how to perform testing of trial applications. You learned how to hide or reveal content based on a mock licensing service and examined a custom API for mocking launchers and choosers.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.231.106