Running Unit Tests

Visual Studio 2015 offers the Test Explorer tool window, which is the environment where you run and analyze unit tests’ execution. This window is automatically shown if you run unit tests through one of the commands from the Test menu or when you right-click the code editor and select Run tests. It can also be launched manually by selecting Test, Windows, Test Explorer. To see such a tool window in action, right-click the code editor and select Run tests. This command runs all unit tests in the project, but you can make a different choice with commands in the Test menu. When all the unit tests are completed, the Test Explorer tool window shows a report about test success or failures. Figure 53.2 shows how such a window looks ...

Get Visual Basic 2015 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.