summaryrefslogtreecommitdiff
path: root/prompts/skills/100-go-mistakes/references/mistake-84-not-using-test-execution-modes-parallel-and-shuffle.md
blob: ec9134ca38d2ee8a397dfa5dbe89a27648d667a8 (plain)
1
2
3
4
# Mistake #84: Not using test execution modes (parallel and shuffle)


Using the `-parallel` flag is an efficient way to speed up tests, especially long-running ones. Use the `-shuffle` flag to help ensure that a test suite doesn’t rely on wrong assumptions that could hide bugs.