https://github.com/getvictor/goteststats
Get detailed `go test` execution times
https://github.com/getvictor/goteststats
developer-experience golang unit-testing
Last synced: 10 days 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 (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-06T22:36:24.000Z (3 months ago)
- Last Synced: 2025-03-27T04:33:12.920Z (27 days ago)
- Topics: developer-experience, golang, unit-testing
- Language: Go
- Homepage: https://victoronsoftware.com/posts/go-test-execution-time/
- Size: 10.7 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
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
```