summaryrefslogtreecommitdiff
path: root/Parallellizing go tests.md
blob: 78afda520d0bf7ea4e29dbbd88fbe4d8eef0adb9 (plain)
1
2
3
4
5
6
7
---
tags:
  - testing
---
[[Table driven tests]] [[Testing Golang programs]]

We can call t.Parallel() to indicate our test can be run in parallel. This can also be done if we have a test function that executes more test cases via t.Run() because that simply runs a test function we can also call t.Parallel() inside of it.