Skip to content

test-report-sonar is a tool for producing Sonar Generic Execution XML reports from clojure.test test suites.

Notifications You must be signed in to change notification settings

konstan/test-report-sonar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

test-report-sonar

Renders test reports results in Sonar Generic Execution format.

The plugin is envoked when you run lein test.

For the the plugin to be invoked, 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. 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/.

About

test-report-sonar is a tool for producing Sonar Generic Execution XML reports from clojure.test test suites.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published