An open API service indexing awesome lists of open source software.

https://github.com/jhberges/go-test2json2md

Utility that renders Go test2json format to Markdown
https://github.com/jhberges/go-test2json2md

cicd github-actions golang testing-tools testreport

Last synced: 5 months ago
JSON representation

Utility that renders Go test2json format to Markdown

Awesome Lists containing this project

README

          

# go-test2json2md

Small utility to produce test report in markdown format, primarily intended for GitHub Actions.

Uses the test2json event output from `go test --json` and generates a summary.

## Usage

```shell
$ gotest2json2md
```

Example:
```shell
$ go test ./... -json > my-test-report.json
$ gotest2jsonmd my-test-report.json
$ head my-test-report.json.md
# Test report

Of 122 tests run there were 120 passes, 1 fails, 1 skips.

# PACKAGE github.com/octocat/super-software/v2/cmd

Console output

```

See output in action for example.

Inspired by the awesome [gotestsum](https://github.com/gotestyourself/gotestsum) tool.