You are on page 1of 3

Source code and Change Request traceability with HP Quality Center and Subversion

Author: HP IT Product Development and Engineering IT Olivier Jacques olivier.jacques@hp.com

What is HP Quality Center, what is Subversion? .................................................................................. 2 Linking source code management with change management .................................................................. 2 For more information ....................................................................................................................... 3

What is HP Quality Center, what is Subversion?


Quality Center is an HP product. It is a rich client application for all essential aspects of application life cycle: release cycle management, requirements management, test plan, test lab (execution), and change management. Subversion is popular Software Configuration Management (SCM) software, sponsored by Collabnet. HP Global IT Product Development and Engineering IT (PD&E IT) operates and supports both solutions for HP internal R&D needs.

Linking source code management with change management


Linking the Source Control Management (SCM) tool and issue/defect/CR tracking repository is a common practice. One can distinguish two types of linkage: 1. Basic link: linkage by reference: each source code change references one or several issue/defect/CRs. Use cases: Make sure that a change in the source code references an issue/defect/CR From developers environment (Integrated Development Environment (IDE), SCM client), open issue/defect/CRs by using URLs pointing to the issue/defect/CR tracking system Find the list of issue/defect/CRs that have been addressed between two code branches, and get information stored in the issue tracking repository, like customer work-around

The linkage by reference is available now. It is discussed in more details in the following white paper: http://teams1.sharepoint.hp.com/teams/QC_documentation/Shared%20Documents /HP%20QC%20Solution/WP_QC_SVN_link_by_ref.pdf
2. Advanced link: linkage with action: an action in the SCM can trigger an action (read or write) in the issue/defect/CR tracking system. Use cases: Make sure that a change in the source code is allowed by the owner of the issue/defect/CR Update the issue with a reference to the code that was modified to address this issue/defect/CR (traceability) Verify that a change in the source code can only be applied to an issue/defect/CRs that is not in a Closed state

The linkage by action between QC and SVN is not available yet. It is being worked on by PD&E IT, Collabnet (SVN) and HP Software (QC). The requirements are available there: http://teams1.sharepoint.hp.com/teams/QC_documentation/Shared%20Documents /HP%20QC%20Solution/QC_CR_SVN_Requirements.pptx
Both features are complementary: The basic linkage (by reference) can be implemented without the advanced linkage (with action). The advanced linkage, as a pre-requisite, needs to have valid references to the issue/defect/CRs. The basic linkage is thus a pre-requisite for the advanced linkage.

For more information


http://italm.rwpc.hp.com/ PD&E IT Software tools http://teams1.sharepoint.hp.com/teams/QC_home/ HP Quality Center Solution home

2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Itanium is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. 4AA0-XXXXENW, May 2006