command
module
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Apr 21, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

Go Test Report

Generate a markdown test report from the go json test result.
Matches perfectly with github job summaries to visualize test results:

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
| 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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
src
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.