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

(request) An option akin to go test's -failfast #142

Open
spencerwilson opened this issue Nov 8, 2024 · 0 comments
Open

(request) An option akin to go test's -failfast #142

spencerwilson opened this issue Nov 8, 2024 · 0 comments

Comments

@spencerwilson
Copy link

spencerwilson commented Nov 8, 2024

In go1.23.3 (and possibly earlier), go test supports a test flag:

	-failfast
	    Do not start new tests after the first test failure.

This flag has no effect when using gocheck as from Go's perspective, a test package contains only one test: a function that calls to gocheck's TestingT func.

I find fail fast helpful to more readably see what test failed. Without it I have to scroll through all the output from the test in order to find the failure. I understand though if it's not a goal of gocheck to reimplement every go test flag there is.

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

1 participant