Modify

Ticket #432 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

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

comment:1 Changed 2 years ago by bschultz

  • Owner changed from mrook to bschultz
  • Status changed from new to assigned
  • Component changed from phing-core to phing-tasks-ext

comment:2 Changed 2 years ago by bschultz

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [726]) Refs #432 - add CoverageThresholdTask

comment:3 Changed 2 years ago by FaZend <team@…>

many thanks!

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.