Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getvictor/goteststats
Get detailed `go test` execution times
https://github.com/getvictor/goteststats
developer-experience golang unit-testing
Last synced: 4 months ago
JSON representation
Get detailed `go test` execution times
- Host: GitHub
- URL: https://github.com/getvictor/goteststats
- Owner: getvictor
- License: mit
- Created: 2024-08-29T13:42:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T01:12:03.000Z (5 months ago)
- Last Synced: 2024-09-18T05:02:59.678Z (5 months ago)
- Topics: developer-experience, golang, unit-testing
- Language: Go
- Homepage: https://victoronsoftware.com/posts/go-test-execution-time/
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goteststats
Article about [accurately measuring execution time of Go tests](https://victoronsoftware.com/posts/go-test-execution-time/).
## Install and run
Generate a `result.json` file with the output of `go test -json ./...`.
Clone the repository and run the following command:
```bash
cat result.json | go run main.go
```