I added a new feature to Go tests. In Go 1.10 (Jan 2018), we’d be able to stop the tests after the first failing test.
go test -failfast ...
Here is the related issue - #21700 and the change.
It’s kind of amazing Go didn’t have this feature already.
nice idea, I often had to use the runner regex’s to get the same thing.
edit: the use case in the issue for flakey tests is even better.
Oh neat. Usually I use the test runner in Goland whilst developing; only retesting the code I’m working on.
This’ll be a neat addition for pre-commit testing hooks.