Registry /
testing / jstemmer-go-junit-report
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.
main
✓ github.com/jstemmer/go-junit-report
Demonstrates typical CLI usage of go-junit-report.
package main
import (
"fmt"
"os"
"os/exec"
)
func main() {
cmd := exec.Command("go", "test", "-v", "./...")
out, _ := cmd.StdoutPipe()
cmd.Start()
// Pipe output to go-junit-report
fmt.Println("Use as CLI tool: go test -v | go-junit-report > report.xml")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.