
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
github.com/coolligang/go-test-report-parser
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Converts go test
output to an xml report, suitable for applications that
expect junit xml reports (e.g. Jenkins).
Go version 1.2 or higher is required. Install or update using the go get
command:
go get -u github.com/jstemmer/go-junit-report
go get -u github.com/coolligang/go-test-report-parser
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
go test -v 2>&1 | go-test-report-parser -log=D:go/logs -err=true > report.md
Note that it also can parse benchmark output with -bench
flag:
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 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.
go test
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.