itamarb a34e6b2365 adding 'set-exit-code' flag
Defaults to false. When true, sets the exit-code to 1 if any tests
failed. This is useful for automation.
2015-05-08 13:56:18 +03:00
2012-03-09 15:38:06 +01:00
2015-05-08 13:56:18 +03:00
2015-02-06 13:57:44 +01:00
2012-03-09 15:38:06 +01:00
2015-05-08 13:56:18 +03:00
2014-10-24 21:44:19 +02:00

go-junit-report

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

Build Status

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
Description
Convert go test output to junit xml
Readme MIT 770 KiB
Languages
Go 98.8%
Makefile 1.2%