Categorygithub.com/improbable-io/go-junit-report
modulepackage
0.0.0-20161011155305-8a980da7388d
Repository: https://github.com/improbable-io/go-junit-report.git
Documentation: pkg.go.dev

# README

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/improbable-io/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

# Packages

No description provided by the author

# Functions

JUnitReportXML writes a JUnit xml representation of the given report to w in the format described at http://windyroad.org/dl/Open%20Source/JUnit.xsd.

# Structs

JUnitFailure contains data related to a failed test.
JUnitProperty represents a key/value pair used to define properties.
JUnitSkipMessage contains the reason why a testcase was skipped.
JUnitTestCase is a single test case with its result.
JUnitTestSuite is a single JUnit test suite which may contain many testcases.
JUnitTestSuites is a collection of JUnit test suites.