Liking cljdoc? Tell your friends :D

test-report-sonar

Renders test reports results in Sonar Generic Execution format.

To run the plugin add the following to the :test profile

:profiles {:test {:plugins [[org.clojars.konstan/lein-test-report-sonar "0.0.2"]]
                  :test-report-sonar {:output-dir "test-reports"}}
           }

The reports will be generated in test-reports/sonar/testExecutions.xml.

The plugin can generate JUnit XML results as well (internally uses . To do so, add :emit-junit-xml true under :test-report-sonar map.

:profiles {:test {:plugins [[org.clojars.konstan/lein-test-report-sonar "0.0.2"]]
                  :test-report-sonar {:output-dir "test-reports"
                                      :emit-junit-xml true}}
           }

The JUnit XML reports will be generated under test-reports/xml/.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close