Testing the application
Define and manage your test plans for manual and automated system tests. These test plans are stored on Team Foundation Server, and are closely integrated with its build and application lifecycle management tools. You can use Team Web Access or Microsoft Test Manager to manage your test plans, test suites and tests. Microsoft Test Manager is installed along with Visual Studio Ultimate, Visual Studio Premium, and Test Professional.
This section is about testing your whole app, either manually or by creating automated system tests. In many software projects, this kind of testing is done by specialist testers.
But if you’re a developer and you want to write unit tests along with the methods and classes of your application code, see Verifying Code by Using Unit Tests and Verifying Code by Using UI Automation.
Testing topics
Topic |
What you can do |
---|---|
Create a test plan based on your backlog items, stories, or requirements. |
|
Define the test cases for each requirement, and steps that the tester should perform in each test. |
|
Display each test case on the screen and mark each step passed or failed as you perform the test. Quickly log bugs that are linked to your test and the log or your steps. |
|
Review the results of your tests. See which requirements have tests that have passed. |
|
Avoid duplicating common test steps such as logging in. |
|
Provide different combinations of test values for the tester to use. |
|
Record your actions while you perform a test without pre-planned steps. |
|
Plan tests with the option of creating steps from recorded actions. |
|
Display the test case at the side of the screen while you perform the test. Automatically record your actions, screenshots, and other diagnostic data for inclusion in test results and bug reports. |
|
Create multiple versions of a test, to be performed on different hardware or software configurations. |
|
Collect event logs, IntelliTrace data, video, and other diagnostic data while you perform a test. |
|
Collect diagnostic data and screenshots while you perform tests on a Windows 8 device or a PC, with Microsoft Test Manager running on a separate PC. |
|
Copy test suites or plans from one project to another. |
|
Record your keystrokes and gestures while you perform a test, and then repeat the actions rapidly on a later occasion. |
|
Plan application tests from a Microsoft Excel or Microsoft Word document |
Use Microsoft Excel to edit test plans in bulk, and synchronize with plans embedded in Microsoft Word documents. |
Gather diagnostic data from servers while you perform a test. Manage the assignment of server machines to testers. Quickly set up fresh test configurations by using virtual machines. |
|
Monitor the progress of your project by tracking the tests that pass or fail. Manage bugs. |
|
Link test methods in code to emulate your manual tests, so that they can be repeated regularly. Automate the deployment of your application and tests to a lab environment. Set up a completely automatic build-deploy-test workflow. |
|
Run coded system tests before the code is checked in. Collect diagnostic data from server machines while the tests run. |
|
Make unit testing an integral part of your application development. |
|
Develop unit tests of your user interface. |
External resources
Guidance and hands-on labs
Testing for Continuous Delivery with Visual Studio 2012
CodePlex – Test Infrastructure Guidance
Visual Studio Test Tooling Guidance
Visual Studio Lab Management Guide
Videos
Easily reproducing issues through manual testing
Managing lab environments for testing
Load testing applications in Visual Studio