diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-05-20 07:19:33 +0200 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-05-20 07:19:33 +0200 |
commit | a61d928b279c5c508aca3bfc7cb14d810c3d75de (patch) | |
tree | 6df664d4b58f1266e2782252547ed35e3c960b34 /Parallellizing go tests.md | |
parent | d4bd3ad4a869c87fcfa4f83b42555a6c8e1bc746 (diff) |
vault backup: 2025-05-20 07:19:33
Diffstat (limited to 'Parallellizing go tests.md')
-rw-r--r-- | Parallellizing go tests.md | 7 |
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 |