Skip to content

marinbek/gocov-xml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocov XML (Cobertura) export

This is a fork of original gocov-xml (github.com/AlekSi/gocov-xml) tool, adding LineRate calculation. BranchRate is not available since this data is not available by go cover.

This is a simple helper tool for generating XML output in Cobertura format for CIs like Jenkins and others from github.com/axw/gocov output.

Installation

Just type the following to install the program and its dependencies:

$ go get github.com/axw/gocov/...
$ go get github.com/marinbek/gocov-xml

Usage

gocov-xml reads from the standard input:

$ gocov test github.com/gorilla/mux | gocov-xml > coverage.xml

Authors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%