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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?