Summary

This chapter covers lot of new features that have been introduced in the new version of Visual Studio along with assert statements that are used for unit testing. The different ways of unit testing the application and analyzing the Test Results using Test Explorer output summary were addressed. Important features such as the Fakes framework and the usage of Stubs and Shims to isolate the tested code from application was explained in this chapter. Data-driven test is one of the important features to conduct the same test with different inputs without repeating the test manually. There is lot of difference in code coverage feature in the latest version of Visual Studio, which addresses the color coding of coverage, coverage on the basis of number of lines, and import and export of coverage results.

The next chapter explains the recording of user actions and how to create tests out of it. This is very helpful in re-running the test with different inputs using the same recording. The Web Performance Test in Visual Studio not only helps in recording actions but also to add extraction and validation rules for the testing.

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

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