Testing tools in Visual Studio

Visual Studio testing tools can help you and your team to develop and sustain high standards of code excellence.


Unit testing is availble in all editions of Visual Studio. Other testing tools, such as live unit testing, IntelliTest, and Coded UI tests are only available in Visual Studio Enterprise edition. For more information about editions see Compare Visual Studio 2017 IDEs.

In this section

Unit Test Your Code Test Explorer makes it easy to integrate unit tests in your development practice. You can use the Microsoft unit test framework or one of several third-party and open source frameworks.
IntelliTest IntelliTest automatically generates unit tests and test data for your managed code.
Code Coverage Code coverage determines what proportion of your project's code is actually being tested by coded tests such as unit tests.
Microsoft Fakes Microsoft Fakes help you isolate the code you are testing by replacing other parts of the application with stubs or shims.
Live Unit Testing Live Unit Testing automatically runs unit tests in the background and graphically displays code coverage and test results in the Visual Studio code editor.
UI Automation Use Coded UI tests to drive your application through its user interface.
Lab Management A lab environment is a collection of virtual and physical machines that you can use to develop and test applications.