Need help with go-junit-report?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

501 Stars 165 Forks MIT License 111 Commits 38 Opened issues


Convert go test output to junit xml

Services available


Need anything else?

Contributors list



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

Build Status Report Card


Go version 1.2 or higher is required. Install or update using the

go get
go get -u


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

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


Create an Issue and discuss the fix or feature, then fork the package. Clone to This is necessary because go import uses this path. Fix or implement feature. Test and then commit change. Specify #Issue and describe change in the commit message. Create Pull Request. It can be merged by owner or administrator then.

Run Tests

go test

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.