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

cmd/go: -failfast flag does not apply across packages #33038

Open
dsnet opened this issue Jul 10, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@dsnet
Copy link
Member

commented Jul 10, 2019

Using go1.12

The documentation for failfast says "Do not start new tests after the first test failure."

When running go test ./... -failfast and one of the packages has a failure, it continues to run the tests for other packages. My interpretation of the documentation above is that go test would stop after any failure, even if in a different package.

@dmitshur dmitshur added this to the Go1.14 milestone Jul 15, 2019

@dmitshur dmitshur changed the title testing: failfast flags does not apply across packages cmd/go: -failfast flag does not apply across packages Jul 15, 2019

@dmitshur

This comment has been minimized.

Copy link
Member

commented Jul 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.