From a61d928b279c5c508aca3bfc7cb14d810c3d75de Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Tue, 20 May 2025 07:19:33 +0200 Subject: vault backup: 2025-05-20 07:19:33 --- Parallellizing go tests.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Parallellizing go tests.md (limited to 'Parallellizing go tests.md') 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 -- cgit v1.2.3