May 2010
Intermediate to advanced
1272 pages
61h 18m
English
When you create unit tests, Visual Studio automatically shows and anchors the Test Tools toolbar that contains buttons for executing, debugging, and managing unit tests. You can choose to run a single unit test or multiple ones. For the current example, click the Run All Tests in Solution button. When all unit tests complete, the Test Results tool window shows a report about test success or failures. Figure 59.2 shows how such a window looks for the current example.
Figure 59.2 Viewing unit test results.

Notice how the CalculateAreaTest method failed while CalculatePerimeterTest succeeded. The Error Message column provides details ...
Read now
Unlock full access