Description: Initialize test so that test flags can be parsed during execution. --- a/runner.go +++ b/runner.go @@ -30,6 +30,11 @@ summaryPattern = regexp.MustCompile(`(?s)(\d+) passed.*?(\d+) failed`) ) +var _ = func() bool { + testing.Init() + return true +}() + func init() { os.Setenv("GO_TEST", "true")