go-junit-report

Convert go test output to junit xml

Github星跟踪图

go-junit-report

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

Build Status
Report Card

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

Contribution

Create an Issue and discuss the fix or feature, then fork the package.
Clone to github.com/jstemmer/go-junit-report. 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

Usage

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

主要指标

概览
名称与所有者jstemmer/go-junit-report
主编程语言Go
编程语言Go (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2012-03-09 19:15:01
推送于2024-08-20 22:12:14
最后一次提交2023-10-19 00:36:43
发布数6
最新版本名称v2.1.0 (发布于 2023-10-19 00:36:28)
第一版名称v0.9.0 (发布于 2019-10-04 00:19:29)
用户参与
星数805
关注者数9
派生数228
提交数363
已启用问题?
问题数92
打开的问题数23
拉请求数33
打开的拉请求数10
关闭的拉请求数48
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?