You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I separate different kinds of tests using build tags, eg:
// +build functionalpackage main
import (
"fmt""github.com/DATA-DOG/godog"
)
...funcFeatureContext(s*godog.Suite) {
s.Step(`^there are (\d+) godogs$`, thereAreGodogs)
s.Step(`^I eat (\d+)$`, iEat)
s.Step(`^there should be (\d+) remaining$`, thereShouldBeRemaining)
s.BeforeScenario(func(interface{}) {
Godogs=0// clean the state before every scenario
})
}
...
when I run godog without args, it cannot find the context initializer. Is there any way to make this work with godog?
The text was updated successfully, but these errors were encountered:
I separate different kinds of tests using build tags, eg:
when I run godog without args, it cannot find the context initializer. Is there any way to make this work with godog?
The text was updated successfully, but these errors were encountered: