Jay Taylor's notes

back to listing index

jstemmer/go-junit-report

[web search]
Original source (github.com)
Tags: testing golang go github.com
Clipped on: 2016-03-11

Skip to content
Convert go test output to junit xml
Go

README.md

go-junit-report

Converts  go test  output to an xml report, suitable for applications that expect junit xml reports (e.g. Jenkins).

Image (Asset 3/3) alt=

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