Skip to content

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

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages