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
2.03k stars 119 forks source link

rerun-fails: run all failed tests in a package at once #347

Open dnephin opened 1 year ago

dnephin commented 1 year ago

When I first wrote --rerun-fails there were limitations with the go test -run flag that required running each test individually (https://github.com/golang/go/issues/39904). I think now that https://github.com/golang/go/commit/025308fe084264538f49924b3f52d8d6b6359658 is done (and has been in all Go versions since go1.18), this can be fixed to re-run all the tests in a package at once.