mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-05 13:32:54 -05:00
2a5fd0eeb0be54871f5c2090b820eef1fca684be

If a package compiles correctly, but panics before it has a chance to run any tests it would previously be ignored. Any failing packages without tests but with some output will now be included in the report with a dummy test. Fixes #52
go-junit-report
Converts go test
output to an xml report, suitable for applications that
expect junit xml reports (e.g. Jenkins).
Installation
Go version 1.1 or higher is required. Install or update using the go get
command:
go get -u github.com/jstemmer/go-junit-report
Usage
go-junit-report reads the go test
verbose output from standard in and writes
junit compatible XML to standard out.
go test -v 2>&1 | go-junit-report > report.xml
Languages
Go
98.8%
Makefile
1.2%