Skip to content

Utility program to convert go coverage file to SonarQube generic coverage xml format

License

Notifications You must be signed in to change notification settings

dwirandytlvk/sonago

 
 

Repository files navigation

Sonago

Provides a convenient way to convert a coverage file that is generated by go test -cover to the generic coverage xml format that can be digested by Sonar which is documented here.

Usage

Sonago will look for a file look in the current directory for a file with the name of gover.coverprofile and will produce a file with the name of coverage.xml when it completes.

This behavior can be modified by passing in command line flags to specify the file names.

sonago -inputfile=myconverageprofile.out -outputfile=mycoverageresults.xml

About

Utility program to convert go coverage file to SonarQube generic coverage xml format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%