Tasks | Associated Topics |
---|---|
Quickstarts and walkthroughs: Learn about unit testing in Visual Studio from code examples. | - Walkthrough: Create and run unit tests for managed code - Quickstart: Test-driven development with Test Explorer - How to: Add unit tests to C++ apps |
Unit testing with Test Explorer: Learn how Test Explorer can help create more productive and efficient unit tests. | - Unit test basics - Create a unit test project - Run unit tests with Test Explorer - Install third-party unit test frameworks |
Unit test C++ code | - Write unit tests for C/C++ |
Isolating unit tests | - Isolate code under test with Microsoft Fakes |
Use code coverage to identify what proportion of your project's code is tested: Learn about the code coverage feature of Visual Studio testing tools. | - Use code coverage to determine how much code is being tested |
Perform stress and performance analysis by using load tests: Learn how to create load tests to help isolate performance and stress issues in your application. | - Quickstart: Create a load test project - Load testing (Azure Test Plans and TFS) |
Set quality gates: Learn how to create quality gates to enforce that tests are run before code is checked in or merged. | - Check-in policies (Azure Repos TFVC) |
Set testing options: Learn how to configure test options, for example, where test results are stored. | Configure unit tests by using a .runsettings file |