Skip to content

Instantly share code, notes, and snippets.

@gonzaloserrano
Last active July 23, 2017 22:20
Show Gist options
  • Save gonzaloserrano/0504a7ef62995a115590e5a5482f24a8 to your computer and use it in GitHub Desktop.
Save gonzaloserrano/0504a7ef62995a115590e5a5482f24a8 to your computer and use it in GitHub Desktop.
Execute go tests in a different process each
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