Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gotestsum stops on first package that has failing test #331

Open
bari-lb opened this issue May 14, 2023 · 1 comment
Open

gotestsum stops on first package that has failing test #331

bari-lb opened this issue May 14, 2023 · 1 comment

Comments

@bari-lb
Copy link

bari-lb commented May 14, 2023

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
Copy link
Member

dnephin commented May 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants