Understanding Start/Stop/Pause/Continue/Restart functionality for fine grain control of LUT
In this section, we will show you how to control the live unit test execution in Visual Studio using the start, stop, pause, continue, and restart commands.
Getting started
You will need to have Visual Studio 2017 Enterprise edition installed on your machine to execute this recipe. You can install a licensed enterprise edition from https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Enterprise&rel=15.
Additionally, clone the solution ClassLibrary.sln
attached from the recipe, Viewing and navigating live unit test results, in this chapter. Alternatively, you can manually execute the steps in that recipe before executing this recipe.
How to do it...
- Open the solution
ClassLibrary.sln
, with two projects:ClassLibrary
andUnitTestProject
and start live unit testing by clicking onTest
|Live Unit Testing
|Start
. Also, bring up theTest Explorer
window by clicking onTest |
Windows |
Test...