Skip to main content Overview Features Editions Extensions Get StartedFAQ Support Documentation Service Status Blog Downloads Buy Overview Support Administrator Portal Subscriber Portal Dev Essentials Visual Studio Hub Free Visual Studio Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft Teams Windows 365 Microsoft AI Azure Space Mixed reality Microsoft HoloLens Microsoft Viva Quantum computing Sustainability Education Automotive Financial services Government Healthcare Manufacturing Retail Find a partner Become a partner Partner Network Microsoft Marketplace Software companies Blog Microsoft Advertising Developer Center Documentation Events Licensing Microsoft Learn Microsoft Research View Sitemap

Banner test text update

Testing tools | Visual Studio

Testing tools

Write high-quality code with comprehensive testing tools using the latest Visual Studio

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.

Learn more

IntelliTest

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.

Learn more

Live Unit Testing

Live Unit Testing automatically runs any impacted unit tests in the background and shows your code coverage live in Visual Studio. As you modify your code, Live Unit Testing lets you know if your code changes are covered by existing tests or if you need to write new tests. Get gentle reminders to write new tests as you type.

Learn more

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.

learn more

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.

Learn more

Code coverage analysis

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

Learn more

Fakes

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.

Learn more

Download the latest Visual Studio

Visual Studio Community

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

Learn more

Visual Studio Professional

Powerful developer tools, services, and subscription benefits for efficient small-team collaboration.

Learn more

Visual Studio Enterprise

Advanced debugging, enterprise security, AI-assisted development—plus Azure Credits and Dev/Test pricing for the cloud.

Learn more
English (United States)
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Contact us Privacy & cookies Manage cookies Terms of use Trademarks About our ads