mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-04 21:12:53 -05:00
a34e6b23658155d525ea5b5472722a40ca0ce65c

Defaults to false. When true, sets the exit-code to 1 if any tests failed. This is useful for automation.
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 | go-junit-report > report.xml
Languages
Go
98.8%
Makefile
1.2%