Overview |  | Roles |  | Work Items |  | Views |  | CMMI |  | Index |  | Glossary |

Project Portal
| ### Next Steps Perform Unit Test for Bug Fix Write or Update a Unit Test for Bug Fix |
| Code Fix ( 3 : TS : 3 : 3.1 ) Developer
Activity: Code Fix
Developer
|  |  |  | Build |  |  |  | Stabilize |  |
|  | Participating Roles Responsible: Developer
### Overview When a developer determines the appropriate strategy to fix a bug, the code must be changed in accordance with the fix strategy. The developer must implement the fix strategy while not introducing any new bugs or breaking the build. # Entry Criteria The location of the bug is identified. The location of the bug is identified. The fix strategy is documented in the bug work item. The fix strategy is documented in the bug work item. Source code containing the bug is available for check out. Source code containing the bug is available for check out. # Sub-Activities
1 | Check Out Code | Check out all files that must be changed to fix the bug.
2 | Write New Code | Optional If the bug fix strategy requires new code, write new code to correct the problem.
3 | Update Code in Existing Code Files | Optional If the bug fix strategy requires modifying code, update the code to correct the problem.
# Exit Criteria
| All code required to fix the problem is integrated in the local copy of the source code.
| Changes to the local code to fix the bug are complete.
© 2005 Microsoft Corporation. All rights reserved. MSF for CMMI Process Improvement: 1.00.0000.00 |