Compartir a través de


System testing your application using Visual Studio

Using Visual Studio 2013, you can create, manage, and run unit tests, coded UI tests, web performance tests, and load tests.

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. For more information, see Verifying Code by Using Unit Tests and Verifying Code by Using UI Automation. 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.

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.

Performance and stress testing: Visual Studio Ultimate 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.

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.

See Also

Concepts

Testing the application

Testing your application using Microsoft Test Manager