jUnit Report Plugin (quokka.plugin.junitreport:0.3, namespace=junitreport)
The jUnitReport plugin generates an HTML report for the results of the unit and integration tests.
Main Targets
| report | Generates a jUnit HTML report containing test results. Implements quokka.plugin.devreport:generate |
Minor Targets
| collect | Collects test results by running unit and integration tests. Implements quokka.plugin.devreport:generate |
| propogate | Propogates test results to the parent project in a multi-project build. Implements quokka.plugin.devreport:generate |
| aggregate-report | Generates a jUnit HTML report containing test results for multiple-projects. Implements quokka.plugin.devreport:generate |
The following properties are common to the report and aggregate-report targets
Properties:
| tofile | The name of the XML file that will aggregate all individual XML testsuite previously generated by the JUnit task. Defaults to TESTS-TestSuites.xml |
| toDir | The directory where should be written the file resulting from the individual XML testsuite aggregation. Defaults to current directory |
Nested Properties:
report
Generate a browsable report based on the document created by the merge.
| format | The format of the generated report. Must be "noframes" or "frames". Defaults to "frames" |
| styleDir | The directory where the stylesheets are defined. They must
be conforming to the following conventions:
|
| toDir | The directory where the files resulting from the transformation should be written to. Defaults to current directory |
report
Generates a jUnit HTML report containing test results
- alias: junitreport
- depends: collect
- prefix: q.junitreport.report
- Implements: quokka.plugin.devreport:generate
Default Properties
| description | jUnit tests report |
| format | frames |
| indexFile | ${prefix.toDir}/index.html |
| name | jUnit |
| report.toDir | ${prefix.toDir} |
| toDir | ${q.devreport.reportsRootDir}/junit |
collect
Collects test results by running unit and integration tests
- depends: lifecycle:integration-test
- prefix: q.junitreport.collect
- enabled-by-default: false
- Implements: quokka.plugin.devreport:generate
Default Properties
| aggregate | true |
| propogate | true |
| tests.set.dir | ${q.project.targetDir}/test/junit |
| tests.set.includes | TEST-*.xml |
propogate
Propogates test results to the parent project in a multi-project build
- prefix: q.junitreport.propogate
- enabled-by-default: false
- Implements: quokka.plugin.devreport:generate
aggregate-report
Generates a jUnit HTML report containing test results for multiple-projects
- prefix: q.junitreport.aggregate-report
- enabled-by-default: false
- Implements: quokka.plugin.devreport:generate
Default Properties
| description | jUnit tests report (aggregate) |
| format | frames |
| indexFile | ${prefix.toDir}/index.html |
| name | jUnit |
| report.toDir | ${prefix.toDir} |
| toDir | ${q.devreport.reportsRootDir}/junit-aggregate |
Plugin Paths
runtime : Runtime class path
quokka.plugin.devreport devreport 0.3
quokka.core.plugin-spi plugin-spi 0.3
quokka.core.util util 0.3
apache.ant ant 1.7.1
quokka.core.bootstrap-util bootstrap-util 0.3
quokka.core.plugin-spi plugin-spi 0.3
apache.ant ant 1.7.1
quokka.core.version version 0.3
apache.ant ant 1.7.1
quokka.core.bootstrap-util bootstrap-util 0.3
apache.ant ant 1.7.1
quokka.core.bootstrap-util bootstrap-util 0.3
apache.ant ant 1.7.1
quokka.core.bootstrap-util bootstrap-util 0.3
apache.ant ant 1.7.1
apache.ant ant 1.7.1
apache.ant trax 1.7.1
apache.ant ant 1.7.1
apache.ant launcher 1.7.1
apache.ant junit 1.7.1
junit junit 3.8.2
apache.ant ant 1.7.1
apache.ant launcher 1.7.1