mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-06 13:38:07 -05:00
23 lines
603 B
Markdown
23 lines
603 B
Markdown
# go-junit-report
|
|
|
|
Converts `go test` output to an xml report, suitable for applications that
|
|
expect junit xml reports (e.g. [Jenkins](http://jenkins-ci.org)).
|
|
|
|
[](https://travis-ci.org/jstemmer/go-junit-report)
|
|
|
|
|
|
## 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
|
|
|