Modify ↓
Ticket #432 (closed enhancement: fixed)
would be nice to create CoverateThresholdTask
| Reported by: | FaZend <team@…> | Owned by: | bschultz |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.1 |
| Component: | phing-tasks-ext | Version: | 2.4.0 |
| Keywords: | Cc: |
Description
Would be nice to have a task that will validate the code coverage database and return an error if any class or method or entire project's coverage is lower than the specified threshold, for example:
<coverage-threshold database="./reports/coverage.db" perProject="50" perClass="60" perMethod="70" />
The task will stop building cycle if coverage is less than 50% for the entire project, or less than 60% for any class or less than 70% for any method.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
