gotestyourself / gotestsum

'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.
Apache License 2.0
1.99k stars 118 forks source link

Fix panic from missing root test #416

Open dnephin opened 1 month ago

dnephin commented 1 month ago

Fixes #413

I should add a test case for this before merging.

pohly commented 1 month ago

It might be worth checking more thoroughly what go test -bench -json produces, if time permits. As a hotfix this seems okay.