Skip to main content

MSF for CMMI Process Improvement

Go Search
Home
  
MSF for CMMI Process Improvement > Wiki Pages > Activity - Select and Run Tests  

Activity - Select and Run Tests

Activity Information

Select and Run Tests

Description

When functionality is implemented in a build, the functionality is ready to test. The tester must configure the test environment required to run the appropriate tests against the build. Then the tests are run, and test results are captured. Test results vary from a successful run to a blocking system crash. Depending on the test results, the tester documents the results against the associated scenario or requirement.

Roles

ResponsibleTester
InformedDeveloper

Attributes

Element Categories[CMMI Cycle 4] Iteration, [CMMI Level 3] VER SP 3.1, [CMMI Level 3] VER SP 3.2, [CMMI Track 3] Build, [CMMI Track 4] Stabilize, [CMMI Report 04] Builds
GuidanceHow to: Create a Bug
When

Tests are written for functionality that is available in a build.

Entry Criteria

Task Work Item:
A test task exists to test a scenario or requirement.

Test Approach:
Provides information to identify and prioritize tests.

Build Notes:
Indicate if the latest build contains functionality to be tested.

Exit Criteria

Task Work Item:
The test task is closed because all of the tests have run unblocked.

Requirement Work Item:
Requirement is closed if all tests for requirement succeed.

Is RequiredYes

Steps

  1. Determine Tests to Run:

    Based on the test task, identify and prioritize the tests to run according to the overall test plan in the test approach document.

    Check the build notes for the latest build to be sure that the functionality to be tested is available.
  2. Set Up Test Environment:

    Retrieve, install, and configure the test environment required to run the tests. This includes hardware, software, and test data.
  3. Get the Build:

    Get the build from version control and configure it in the test environment so that it is ready for testing.
  4. Run the Tests:

    Open the test project in Visual Studio. Use Test Manager or Test View to select the tests to be run.

    Run the tests.

    Use the test data identified by the test approach document for the current iteration.
  5. Analyze Test Results:

    If the tests are for a scenario, attach the test results to the scenario work item.

    If the tests are for a requirement, attach the test results to the requirement work item.

    Check the test results against expected results. Open a bug work item if the results do not meet expectations.
  6. Close the Test Task:

    If all the tests for the test task run unblocked, close the test task work item. Note that an unblocked test is one that runs to completion and either succeeds or fails.

    Notify the developer who implemented the scenario or requirement that there are no blocking issues.

    If all of the test tasks for a scenario or requirement are closed, close the scenario or requirement work item.

Inputs and Outputs

WorkProductInputOutputAllowable States
RequirementResolved
TaskActive

Predecessors

TypeNameDependency Type
Develop TestsFinish-Start

Successors

TypeNameDependency Type
Open a BugFinish-Start

Last modified at 12/19/2007 10:37 AM  by Administrator