cathcart:checkprevious_junit

Full name:

net.sf.cathcart:maven-cathcart-plugin:0.9.7:checkprevious_junit

Description:

Checks that the failures, errors, skipped and test metrics generated by junit have not significantly deteriorated since the last successful build.

Attributes:

  • Is NOT inherited by default in multi-project builds.

Required Parameters

Name Type Since Description
junit.report File - The xml report produced by junit which contains the raw data for checking.
basedir File - The base directory from which to execute the Ant script.
Default value is: ${basedir}.

Optional Parameters

Name Type Since Description
checkprevious.junit.failures.leeway Double - The allowed leeway in the value of failures when compaired to the last successful build.
Default value is: 0.
checkprevious.junit.failures.absolute Boolean - Is the leeway for failures given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.junit.errors.leeway Double - The allowed leeway in the value of errors when compaired to the last successful build.
Default value is: 0.
checkprevious.junit.errors.absolute Boolean - Is the leeway for errors given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.junit.skipped.leeway Double - The allowed leeway in the value of skipped when compaired to the last successful build.
Default value is: 0.
checkprevious.junit.skipped.absolute Boolean - Is the leeway for skipped given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.junit.test.leeway Double - The allowed leeway in the value of test when compaired to the last successful build.
Default value is: 0.
checkprevious.junit.test.absolute Boolean - Is the leeway for test given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.junit.dir String - The directory where results are saved between builds.
Default value is: previous.
checkprevious.junit.backup Boolean - Make a backup of the previous result file when it is replaced.
Default value is: true.
messageLevel String - The message-level used to tune the verbosity of Ant logging.
Default value is: info.

Parameter Details

junit.report:

The xml report produced by junit which contains the raw data for checking.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${junit.report}

checkprevious.junit.failures.leeway:

The allowed leeway in the value of failures when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.junit.failures.leeway}
  • Default: 0

checkprevious.junit.failures.absolute:

Is the leeway for failures given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.junit.failures.absolute}
  • Default: false

checkprevious.junit.errors.leeway:

The allowed leeway in the value of errors when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.junit.errors.leeway}
  • Default: 0

checkprevious.junit.errors.absolute:

Is the leeway for errors given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.junit.errors.absolute}
  • Default: false

checkprevious.junit.skipped.leeway:

The allowed leeway in the value of skipped when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.junit.skipped.leeway}
  • Default: 0

checkprevious.junit.skipped.absolute:

Is the leeway for skipped given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.junit.skipped.absolute}
  • Default: false

checkprevious.junit.test.leeway:

The allowed leeway in the value of test when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.junit.test.leeway}
  • Default: 0

checkprevious.junit.test.absolute:

Is the leeway for test given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.junit.test.absolute}
  • Default: false

checkprevious.junit.dir:

The directory where results are saved between builds.
  • Type: java.lang.String
  • Required: No
  • Expression: ${checkprevious.junit.dir}
  • Default: previous

checkprevious.junit.backup:

Make a backup of the previous result file when it is replaced.
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.junit.backup}
  • Default: true

basedir:

The base directory from which to execute the Ant script.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${antBasedir}
  • Default: ${basedir}

messageLevel:

The message-level used to tune the verbosity of Ant logging.
  • Type: java.lang.String
  • Required: No
  • Expression: ${antMessageLevel}
  • Default: info