Bagikan melalui


Verifying Requirements

The Capability Maturity Model Integration (CMMI) requires that product requirements are verified for correctness, which means that they must be tested. The test scripts must be written against the specification and any architecture, analysis, and design that is discussed in the requirement work item. Verifying a product requirement can involve functional, performance, security, stress, and load tests.

To verify requirements, review the product's requirements work items, and determine which items to test and what kinds of tests to create.

You can then use Microsoft Test Manager to create a test plan with test cases that are linked to requirements. This enables you to organize your testing by requirements. You can link test cases to existing requirements that have been created in your team project. You can also view any test cases that have been already linked to the requirement.

By adding the requirement to a test plan with Visual Studio Ultimate or Visual Studio Test Professional, you make sure that each requirement is specifically tested. This also enables you to determine how much test coverage you have for your requirement. By including the requirement in the test plan, you can run all its test cases at the same time and view the results.

After you add a requirement to your test plan, you can then create test cases for that requirement, or you can add existing test cases to it. You can also edit a test case directly and link it to the requirement by using a Tests link. This test case will also appear in your test plan.

For information about how to use specific kinds of tests, see Creating Manual Test Cases and Creating Automated Tests.