I would like to run tests in a package in parallel. We know that the testing.Parallel
function enables us to run two tests in a package in parallel, but is there a way to automatically enable all tests in a package to run in parallel without calling t.Parallel()
?
For example, are there any flags I can throw into go test
to make all tests with the function signature func(t *testing.T)
be ran in parallel?