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

gotestsum stops on first package that has failing test #331

Open bari-lb opened 1 year ago

bari-lb commented 1 year ago

Hi,

It seems that when a single test fails in a package, gotestsum will continue to run all the tests in the package, however it won't continue to the next package. Tests in the following packages won't run & I can't tell if 1 test had broken or 10. I'd like gotestsum to run all tests in all packages regardless of a failure. Is there a flag I can use?

dnephin commented 1 year ago

Hello! gotestsum should continue to run all the tests in all packages after a failure. The only time test runs will stop early is when there is a panic in a test.

Could you share more detail about the failure you are seeing? Either some output from a run or a way to reproduce the behaviour would be great.