gotestsum icon indicating copy to clipboard operation
gotestsum copied to clipboard

gotestsum stops on first package that has failing test

Open bari-lb opened this issue 2 years ago • 1 comments

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?

bari-lb avatar May 14 '23 10:05 bari-lb

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.

dnephin avatar May 21 '23 16:05 dnephin