Create, manage, and run unit tests, coded UI tests, web performance tests, and load tests


Create, manage, and run unit tests, coded UI tests, web performance tests, and load tests with Visual Studio Enterprise.

Unit tests and coded UI tests are generally used by developers, or by team members who use Visual Studio, to validate the quality of their code in an app. For example, you might run these tests prior to checking your code into version control. See Unit Test Your Code and Use UI Automation To Test Your Code. However, team members involved in testing the application can also use these tests types for converting manual tests to automated tests and for isolating bugs that come out of integration testing from Team Foundation builds.

Title Description
Create tests in Visual Studio: Create unit, coded UI, web performance and load tests. If needed, you can also create generic tests to call external programs and tests. Additionally, you can create ordered tests that contain these test types. - Creating Automated Tests Using Visual Studio
Running tests in Visual Studio: There are several ways to run your automated tests. If you just want to run your automated tests locally or use a test controller and test agents, you can do that from Visual Studio.

Unit tests and coded UI tests are run using the Test Explorer, whereas web performance tests and load tests are run from their Visual Studio editors.
- Running Automated Tests Using Microsoft Visual Studio
Performance and stress testing: Visual Studio provides specific test facilities for performance and stress testing. An app can be instrumented and driven to measure its performance under specified loads. Web apps can be driven with multiple requests, simulating many users. - Web performance and load tests in Visual Studio
Submitting bugs in Visual Studio: You can submit a bug using Visual Studio at any time during the software development process. For example, you perform ad hoc testing and find a bug, or you notice incorrect behavior while you’re discussing the app under test with your team mates. You can manually attach information to this bug and link it to other work items. - How to: Submit a Bug Using Microsoft Visual Studio

See Also

Test apps early and often
Testing your application using Microsoft Test Manager