cathcart:check_junit

Full name:

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

Description:

Checks the failures, errors, skipped and test metrics generated by junit.

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
check.junit.failures.leeway Double - The allowed leeway in the value of failures when compaired to the given limit.
Default value is: 0.
check.junit.failures.absolute Boolean - Is the leeway for failures given as an absolute value (true) or a percentage (false)?
Default value is: false.
check.junit.failures.limit Double - Fails if failures is more than this value.
Default value is: 99999.
check.junit.errors.leeway Double - The allowed leeway in the value of errors when compaired to the given limit.
Default value is: 0.
check.junit.errors.absolute Boolean - Is the leeway for errors given as an absolute value (true) or a percentage (false)?
Default value is: false.
check.junit.errors.limit Double - Fails if errors is more than this value.
Default value is: 99999.
check.junit.skipped.leeway Double - The allowed leeway in the value of skipped when compaired to the given limit.
Default value is: 0.
check.junit.skipped.absolute Boolean - Is the leeway for skipped given as an absolute value (true) or a percentage (false)?
Default value is: false.
check.junit.skipped.limit Double - Fails if skipped is more than this value.
Default value is: 99999.
check.junit.test.leeway Double - The allowed leeway in the value of test when compaired to the given limit.
Default value is: 0.
check.junit.test.absolute Boolean - Is the leeway for test given as an absolute value (true) or a percentage (false)?
Default value is: false.
check.junit.test.limit Double - Fails if test is less than this value.
Default value is: 0.
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}

check.junit.failures.leeway:

The allowed leeway in the value of failures when compaired to the given limit.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.failures.leeway}
  • Default: 0

check.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: ${check.junit.failures.absolute}
  • Default: false

check.junit.failures.limit:

Fails if failures is more than this value.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.failures.limit}
  • Default: 99999

check.junit.errors.leeway:

The allowed leeway in the value of errors when compaired to the given limit.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.errors.leeway}
  • Default: 0

check.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: ${check.junit.errors.absolute}
  • Default: false

check.junit.errors.limit:

Fails if errors is more than this value.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.errors.limit}
  • Default: 99999

check.junit.skipped.leeway:

The allowed leeway in the value of skipped when compaired to the given limit.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.skipped.leeway}
  • Default: 0

check.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: ${check.junit.skipped.absolute}
  • Default: false

check.junit.skipped.limit:

Fails if skipped is more than this value.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.skipped.limit}
  • Default: 99999

check.junit.test.leeway:

The allowed leeway in the value of test when compaired to the given limit.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.test.leeway}
  • Default: 0

check.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: ${check.junit.test.absolute}
  • Default: false

check.junit.test.limit:

Fails if test is less than this value.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.junit.test.limit}
  • Default: 0

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