O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running Your Tests

As you saw back in Figure 8.4, the Test menu is used to run your unit tests. There are many options here. You can select individual tests to run, or you can run them all. You can also choose to run only failed tests, passed tests, tests not yet run, or just rerun your last run tests.

The Debug selection on the Test menu will run tests with the debugger activated. This allows you to break into the debugger if a test fails and is useful if you are actively troubleshooting code through tests.

Note

When you run a test project, any referenced projects are recompiled along with your test project.

Viewing Test Results

When you run your tests, the results are shown in the Test Explorer window. The Test Results window provides an ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required