MSF for Agile Software Development Visual Studio 2005 Team System logo

Activity:

Perform a Unit Test

Participating Roles

Responsible:

Developer

Overview

Entry Criteria

    Dependencies:

    • The unit test is written and verified to represent the item under test.

    Sub-Activities

    1

    Identify Appropriate Unit Test

    • Find the most relevant unit test(s) that correspond to the element under test.

    2

    Perform a Unit Test

    • Run the unit test on the area under test.

    3

    Analyze Test Results

    • As each step is completed, mark each one appropriately using either Pass, Fail, Skip, Warning, or Blocked and add comments when needed.
    • If the test fails because the test was written incorrectly, fix the unit test and run the test on the element under test.
    • If the test fails because the code under test was written incorrectly, fix the code and rerun the test. Do not open a new bug.

    4

    Debug Code

    • Correct problems introduced when writing code for the task.

    Exit Criteria

    The unit test achieves code coverage test target or the reason why it does not is documented in the check-in notes.

    All unit tests pass.

    © 2006 Microsoft Corporation. All rights reserved.

    Version 4.1.0