Registry / testing / joshdk-go-junit

joshdk-go-junit

JSON →
library1.0.0gogounverified

A Go library for parsing and generating JUnit XML test reports.

go get github.com/joshdk/go-junit
INSTALL
IMPORT
SIG · JOSHDK-GO-JUNIT
J
joshdk-go-junit
testinggov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

junit
github.com/joshdk/go-junit

Parses a JUnit XML file and prints suite names.

package main import ( "fmt" "github.com/joshdk/go-junit" ) func main() { suites, err := junit.IngestFile("report.xml") if err != nil { panic(err) } for _, suite := range suites { fmt.Println(suite.Name) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
joshdk-go-junit — go get joshdk-go-junit · libregistry