We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36e738 commit c575855Copy full SHA for c575855
build/common.go
@@ -393,6 +393,11 @@ func Test() error {
393
return sh.RunV("go", "test", "./pkg/...")
394
}
395
396
+// TestRace runs backend tests with the data race detector enabled.
397
+func TestRace() error {
398
+ return sh.RunV("go", "test", "-race", "./pkg/...")
399
+}
400
+
401
// Coverage runs backend tests and makes a coverage report.
402
func Coverage() error {
403
// Create a coverage folder if it does not already exist
0 commit comments