Last active
July 23, 2017 22:20
-
-
Save gonzaloserrano/0504a7ef62995a115590e5a5482f24a8 to your computer and use it in GitHub Desktop.
Execute go tests in a different process each
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `grep -r Test *_test.go | grep testing.T | awk '{print $2}' | awk -F '(' '{print $1}' | grep -v t.Run`; do echo $i; go test -v ./... --run $i; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment