Jay Taylor's notes
back to listing indexjstemmer/go-junit-report
[web search]
Original source (github.com)
Clipped on: 2016-03-11
Skip to content
Convert go test output to junit xml
Go
Latest commit
833f8ea
on Sep 3, 2015
jstemmer
Merge pull request #17 from sectioneight/go-1.5-support
parser | Add support for Go 1.5 test results | 7 months ago | |
tests | Fix version for tests | 6 months ago | |
.gitignore | Initial commit | 4 years ago | |
.travis.yml | Add go1.5 to travis config | 6 months ago | |
LICENSE | Initial commit | 4 years ago | |
README.md | Go 1.1 or higher is required | a year ago | |
go-junit-report.go | moving parser into subpackage | 10 months ago | |
go-junit-report_test.go | Add support for Go 1.5 test results | 7 months ago | |
junit-formatter.go | Merge branch 'subpackage' | 8 months ago |
README.md
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:
normalgo get -u github.com/jstemmer/go-junit-report
normal
Usage
go-junit-report reads the go test
verbose output from standard in and writes
junit compatible XML to standard out.
normalgo test -v | go-junit-report > report.xml
normal