To speed up the build phase, you can run
go test -i several/packages/...
before testing to build and install test-dependent packages.
To stop after the first failure you can use something like
go test several/packages/... | grep FAILED | head -n 1
kostya
source share