summaryrefslogtreecommitdiff
path: root/Parallellizing go tests.md
diff options
context:
space:
mode:
Diffstat (limited to 'Parallellizing go tests.md')
-rw-r--r--Parallellizing go tests.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/Parallellizing go tests.md b/Parallellizing go tests.md
new file mode 100644
index 0000000..78afda5
--- /dev/null
+++ b/Parallellizing go tests.md
@@ -0,0 +1,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. \ No newline at end of file