Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 949 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 949 Bytes

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