go-testreport

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 6 Imported by: 0

README

StepSecurity Maintained Action

Go Test Report

License

Generate a markdown test report from the go json test result.

Matches perfectly with github job summaries to visualize test results:

ReportExample

The default output sorts the tests by failing and slowest execution time.

Usage

GitHub Actions

The Golang Test Report can be used to integrate the go-testreport tool into a GitHub workflow:

- name: Test
  run: go test ./... -json > report.json
- name: Report
  uses: step-security/go-testreport@v0
  with:
    input: report.json
Inputs
Input Description Required Default
input Test report json file path Yes
output Output file path No $GITHUB_STEP_SUMMARY
template Template file. Default will be used if empty No
templateVariables Variables for template files. Default will be used if empty No

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL