ideascf / gocover-cobertura

golang : go tool cover to XML (Cobertura) export tool.

Home Page:https://github.com/t-yuki/gocover-cobertura/wiki/Screenshots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

go tool cover XML (Cobertura) export

This is a simple helper tool for generating XML output in Cobertura format for CIs like Jenkins and others from go tool cover output.

Installation

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

$ go get code.google.com/p/go.tools/cmd/cover
$ go get github.com/t-yuki/gocover-cobertura

Usage

gocover-cobertura reads from the standard input:

$ go test -coverprofile=coverage.txt -covermode count github.com/gorilla/mux
$ gocover-cobertura < coverage.txt > coverage.xml

Authors

Thanks

This tool is originated from gocov-xml by Alexey Palazhchenko (AlekSi)

About

golang : go tool cover to XML (Cobertura) export tool.

https://github.com/t-yuki/gocover-cobertura/wiki/Screenshots

License:MIT License


Languages

Language:Go 100.0%