scoverage:check

Full name:

org.scoverage:scoverage-maven-plugin:1.4.11:check

Description:

Checks if minimum code coverage by unit tests reached in forked scoverage life cycle.

In forked scoverage life cycle project is compiled with SCoverage instrumentation and unit tests are executed before checking.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.0.0.
  • Invokes the execution of the lifecycle phase test prior to executing itself.
  • Executes in its own lifecycle: scoverage.

Optional Parameters

Name Type Since Description
<failOnMinimumCoverage> boolean 1.0.0 Fail the build if minimum coverage was not reached.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.

Default value is: false.
User property is: scoverage.failOnMinimumCoverage.
<minimumCoverage> Double 1.0.0 Required minimum coverage.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.

Default value is: 0.
User property is: scoverage.minimumCoverage.
<skip> boolean 1.0.0 Allows SCoverage to be skipped.

Default value is: false.
User property is: scoverage.skip.

Parameter Details

<failOnMinimumCoverage>

Fail the build if minimum coverage was not reached.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: scoverage.failOnMinimumCoverage
  • Default: false

<minimumCoverage>

Required minimum coverage.

See https://github.com/scoverage/sbt-scoverage#minimum-coverage for additional documentation.
  • Type: java.lang.Double
  • Since: 1.0.0
  • Required: No
  • User Property: scoverage.minimumCoverage
  • Default: 0

<skip>

Allows SCoverage to be skipped.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: scoverage.skip
  • Default: false