|
|
|
|
|
|
|
|
|
MSF for CMMI Process Improvement > Wiki Pages > Activity - Integrate Bug Changes
|
Activity - Integrate Bug Changes
|
|
|
|
|
|
Activity Information Integrate Bug Changes
DescriptionAll code changes and associated unit tests must be integrated into the main source for the product. The developer must test the code from end-to-end as part of integration. After the code is checked in, the work item associated with the code change is assigned to a tester to begin testing. After the code passes build verification tests, the code is considered successfully integrated. Code is integrated in small sets of changes, each representing a development task or bug, to maintain a level of verifiable stability. Attributes| Element Categories | [CMMI Level 3] PI SP 3.1, [CMMI Cycle 1] Check In, [CMMI Track 3] Build, [CMMI Track 4] Stabilize | | Guidance | Enterprise-Class Source Control, How to: Resolve a Bug | | Entry Criteria | Local copy of source code is available with reviewed or refactored code: Local copy of source code is available with reviewed or refactored code.
New unit tests available for any new code: New unit tests are available for any new code. | | Exit Criteria | New changeset is created: New changeset is created.
Source code is integrated into main source (promoted to build): Source code is integrated into main source (promoted to build).
New unit tests are integrated into main source (promoted to build): New unit tests are integrated into main source (promoted to build). | | Is Required | Yes |
StepsCheck Dependencies (Optional):
If the code changes are the result of implementing a development task, check to see if the task depends on any other tasks that have not been checked in. Wait until those development tasks have been integrated.
If the development task is mutually dependent on another task, shelve one and retrieve it on the same machine as the other. Handle the two as a single development task but check the work in against both tasks.
Synchronize with the latest versions of the code for the area in which the code changed. Test and Integrate Other Development Tasks:
Test the code to be sure it works with related changes that are already integrated.
Run unit tests to be sure that the set of changes is compatible with those already integrated.
Debug the integration if necessary, and repeat unit tests and code analysis until there are no integration problems. Check In the Set of Changes:
Set the next build number in the bug or development task.
Check in the code changes and the unit tests with the bug or development task. Checking in code changes should close the development task or resolve the bug and create a new changeset. Resolve Scenario or Quality of Service Requirement Work Item (Optional):
If the work item associated with the changes is a scenario or quality of service requirement and you are not the owner, notify the owner the changes are complete.
Set the associated work item to "Resolved" and assign it to one of the testers who created the test cases for the work item. Resolve Bug Work Item (Optional):
If the work item associated with the changes is a bug, set the bug work item to "Resolved," and assign it to the original person who created the bug work item.
|
Last modified at 12/19/2007 10:37 AM by Administrator
|
|
|
|
 |
 |
 |
 |
|