diff --git a/suite_test.go b/suite_test.go index f31c302..aabffe4 100644 --- a/suite_test.go +++ b/suite_test.go @@ -25,7 +25,7 @@ func TestMain(m *testing.M) { var status int if !specific { status = RunWithOptions("godog", func(s *Suite) { - SuiteContext(s) + GodogContext(s) }, Options{ Format: format, // pretty format for verbose mode, otherwise - progress Paths: []string{"features"}, @@ -39,3 +39,8 @@ func TestMain(m *testing.M) { } os.Exit(status) } + +// needed in order to use godog cli +func GodogContext(s *Suite) { + SuiteContext(s) +}