1. 25

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.

Like this:

go test -failfast ...

Here is the related issue - #21700 and the change.


  2. 12

    It’s kind of amazing Go didn’t have this feature already.

    1. 3

      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.

      1. 1

        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.