Code Testing Tools & Services | Visual Studio2019-02-20T10:17:11+00:00

Testing tools

Write high-quality code with comprehensive testing tools

Test Explorer unit testing screenshot

Unit Testing

Write, execute, and debug unit tests in the language and test framework of your choice. The rich set of built-in project templates, and test frameworks support multiple platforms and make it easy to get started.


Dramatically reduce the effort to create and maintain unit tests for new or existing code. Generate interesting input-output values for your methods, and save them as a small test suite with high code coverage. Automatically evolve them as your code evolves.

IntelliTest screenshot
Live Unit Testing screenshot

Live Unit Testing

Refactor and change code with greater confidence by using Live Unit Testing. Automatically execute impacted tests as you edit code to ensure that your changes do not break tests. Get real-time visual feedback on test results and on your code coverage.

Promote a ‘quality first‘ culture in your team with Live Unit Testing

Test Explorer

Use a single window to organize, run, and debug your test, as well as see the test results. Easily configure Continuous Testing by automatically running tests after every build.

Test Explorer diagram
test indicators screenshot

CodeLens Test Indicators

Inline display of test results for your code. Inspect, run, debug your tests, and navigate to the tests right from the code editor.

Code Coverage Analysis

Visualize and report on line level and block level code coverage for both managed and native applications.

code coverage screenshot
Fakes Framework screenshot


Rich isolation framework that allows you to replace any .NET method with a delegate. The Fakes Framework in Visual Studio supports unit testing by providing isolation by way of detours and stubs.

Free, fully-featured IDE for students, open-source and individual

Free download

Professional developer tools, services, and subscription benefits for small

Free trial

End-to-end solution to meet demanding quality and scale needs of teams of all

Free trial