Этот коммит содержится в:
gedi 2017-05-05 23:37:57 +03:00
родитель 4af9c12d7b
коммит 2f95563bb4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 56604CDCCC201556

Просмотреть файл

@ -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)
}