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.
In go1.23.3 (and possibly earlier),
go testsupports a test flag: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
TestingTfunc.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 testflag there is.