How to: [⏫](#contents) Get slowest tests with [gotestsum](https://github.com/gotestyourself/gotestsum)
This is subcommand of `gotestsum` that processes JSON output of `go test` to find slowest tests. — [@dnephin](https://github.com/dnephin)

```
go test -json -short ./... | gotestsum tool slowest --threshold 500ms
```

Example
```
gotest.tools/example TestSomething 1.34s
gotest.tools/example TestSomethingElse 810ms
```

Requirements
```
go install gotest.tools/gotestsum@latest
```