/sbt-sonar-reporter

Create generic Sonar XML test report

Primary LanguageScalaMIT LicenseMIT

sbt-sonar-reporter

Creates generic Sonar XML test report using standard sbt test listener.

See the following for more details on generic XML report: https://docs.sonarqube.org/display/SONAR/Generic+Test+Data

This plugin is only actual while the following issue is not closed: sonar-scala/sonar-scala#32

See the following class for more details: https://github.com/sbt/sbt/blob/develop/testing/src/main/scala/sbt/TestReportListener.scala

Usage

This plugin requires sbt 1.0.0+

Testing

Run test for regular unit tests.

Run scripted for sbt script tests.

Publishing

  1. publish your source to GitHub
  2. create a bintray account and set up bintray credentials
  3. create a bintray repository sbt-plugins
  4. update your bintray publishing settings in build.sbt
  5. sbt publish
  6. request inclusion in sbt-plugin-releases
  7. Add your plugin to the community plugins list
  8. Claim your project an Scaladex