command
module
Version:
v0.0.0-...-2addc61
Opens a new window with list of versions in this module.
Published: Apr 14, 2021
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.