mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 05:00:15 -05:00

In case of build error, the unittest fail, but the junit-report with the set-exit-code flag on returns status code 0. This commit will make it return the right status code.
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%