BSD Ports

wip/go-junit-report af01ea7f8024089b458d804d5cdf190f962a9a0cnb7 NetBSD

TODO: Short description of the package

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
mit
Categories
wip

Description

go-junit-report is a tool that converts go test output to an xml report, suitable for applications that expect junit xml reports (e.g. Jenkins).

go-junit-report reads the go test verbose output from standard in and writes junit compatible XML to standard out.

go test -v 2>&1 \| go-junit-report > report.xml

Note that it also can parse benchmark output with -bench flag:

go test -v -bench . -count 5 2>&1 \| go-junit-report > report.xml

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/go-junit-report && make install clean

Dependencies

No port depends on this one.