Testing tools in Visual Studio

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

  • The Test Explorer window makes it easy to integrate unit tests into your development practice. You can use the Microsoft unit test framework or one of several third-party and open source frameworks.

  • IntelliTest automatically generates unit tests and test data for your managed code.

  • Code coverage determines what proportion of your project's code is actually being tested by coded tests such as unit tests.

  • Microsoft Fakes help you isolate the code you are testing by replacing other parts of the application with stubs or shims.

  • Live Unit Testing automatically runs unit tests in the background, and graphically displays code coverage and test results in the Visual Studio code editor.

  • Coded UI tests enable you to test your application through its user interface.

  • Load testing simulates load on a server application by running unit tests and Web performance tests.


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.