Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 627 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 627 Bytes

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