Skip to content

JaCoCo plugin should provide a way to verify that given code metrics are met #824

@eriwen

Description

@eriwen

Users need a way to check that code coverage meets a given standard.

Expected Behavior

A provided task or task configuration such that one can choose to fail the build if a certain level is not achieved with the current build.

Current Behavior

No coverage verification built-in.

Context

This is a very highly voted feature request.

The implementation shouldn't be too hard - the underlying Ant tasks provide a way to pass appropriate values and fail the build if metrics are not met.

There is also an incomplete attempt at this that can be learned from.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions