使用 Rational Team Concert 配置項目流程 軟件測試技術
創建項目后,可以根據自身項目的特點對項目流程進行配置,項目流程一般由開發基線 (Development Line),迭代 (Iteration),項目角色及工件類型組成。在 Rational Team Concert 中用戶可以修改或創建開發基線及迭代以完成對項目流程的配置,通過修改迭代的起止時間來安排項目的進程。如圖 17 所示,在打開項目域,在右側的流程迭代列表中,可以完成上述操作。
用戶同時還可以增加項目角色,對不同角色分配權限。在項目域左下角選擇 Process Specification 選項卡,可以看到包含三部分內容,即上面提到過的角色定義,工件類型以及流程描述,如圖 18 所示。
Role Definition 中主要定義了項目流程中的各種角色,如下所示為對項目經理的描述與定義,其他角色定義方法與其類似。用戶可以自行編輯。
<role-definitions> <role-definition cardinality="single" description="Leads the planning of the project, coordinates interactions with the stakeholders, and keeps the project team focused on meeting the project objectives." role-id="project_manager"/> </role-definitions>
Project Configuration 中主要定義了項目流程的初始狀態,項目域中的角色權限以及工件類型。
如下所示為對 default 用戶的權限設定,其他的與其類似。用戶可以自行編輯。
<permissions> <role id="default"> <project-operation id="com.ibm.team.process.server.saveProjectArea"> <action id="any"/> </project-operation> <project-operation id="com.ibm.team.workitem.server.saveCategory"> <action id="any"/> </project-operation> …… <permissions>
如下所示為對 Defect 類型的描述,其他類型定義與其類似。用戶可以自行編輯。
<type id="defect" name="Defect" category="com.ibm.team.workitem.workItemType" dimmedicon="platform:/plugin/com.ibm.team.workitem.common/icons/obj16/wi_bug_dim.gif" icon="platform:/plugin/com.ibm.team.workitem.common/icons/obj16/wi_bug.gif"> <alias name="bug"/> </type>
Team Configuration 中主要定義了在用戶域中的角色權限,行為以及開發基線和迭代的結構。
如下所示為保存 WorkItem 行為的描述,其他行為與其類似。用戶可以自行編輯。
<behavior> <role id="default"> <operation id="com.ibm.team.workitem.operation.workItemSave"> <preconditions> <precondition id="com.ibm.team.workitem.advisor.requiredProperties" xmlns="http://com.ibm.team.workitem/requiredProperties" name="Required Properties" description="A minimum set of properties must be set in order for the team to know how to classify the workitem."> <properties workItemTypeCategory="com.ibm.team.workitem.workItemType"> <property id="summary"/> </properties> </precondition> </preconditions> </operation> …… </behavior>
如下所示為開發基線及迭代的結構,用戶也可以根據項目情況自行編輯。
<development-line id="development"> <iteration id="inception"> <iteration id="I1"> <iteration id="work"> <behavior> <role id="default"> <operation id="com.ibm.team.scm.client.deliver"> </operation> </role> </behavior> </iteration> </iteration> </iteration> …… </development-line>
通過對 Process Specification 的編輯,用戶可以從多個方面對項目流程進行創建,修改,定制自己的流程,更好地服務于項目開發。
原文轉自:http://www.anti-gravitydesign.com