Setting acceptable levels of code coverage preconditions for code delivery
You can set a threshold for acceptable code coverage results
before the code can be checked in to Rational Team Concert™.
Before you begin
- Your Rational Team Concert user ID must be in the JazzAdmins repository group.
- Rational Team Concert Client must be installed on your workbench.
About this task
Procedure
- Open the Project Area that you want to modify. In the Team Artifacts view, right-click the project area.
- Click the Process Configuration tab.
- Click .
- In the Operations column of the Operation Behavior table, go to Source Control.
- In the Deliver (client) row, select the cell for the role to which you want to apply the precondition. For example, select Everyone.
- Select Preconditions and follow-up actions are configured for this operation.
- In the Preconditions list, click Add and select Prohibit Unsatisfactory Code Coverage.
- Select Fail if not installed.
- Set the acceptable code coverage levels.
- Optional: Add any classes that you want to exclude from the code coverage requirement.
- Optional: To apply the code coverage requirement to a specific list of classes, under Choose Components click Add and enter component that you want to exclude.
Results
