Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GodogRunner ¶
type GodogRunner struct {
// contains filtered or unexported fields
}
GodogRunner acts as a wrapper around Godog allowing to maintain a global acceptance test state.
func NewGodogRunner ¶
func NewGodogRunner(opts ...GodogRunnerOption) *GodogRunner
NewGodogRunner returns a new Godog runner.
func (*GodogRunner) RegisterFeatureContext ¶
func (r *GodogRunner) RegisterFeatureContext(ctx func(s *godog.Suite))
RegisterFeatureContext registers a feature context
func (*GodogRunner) RegisterFeaturePath ¶
func (r *GodogRunner) RegisterFeaturePath(featurePath string)
RegisterFeaturePath registers a path where .feature files can be found.
func (*GodogRunner) Run ¶
func (r *GodogRunner) Run() int
type GodogRunnerOption ¶
type GodogRunnerOption func(*GodogRunner)
GodogRunnerOption sets an option on the Godog runner.
func WithGodogOptions ¶
func WithGodogOptions(o godog.Options) GodogRunnerOption
WithGodogOptions sets Godog options on the runner.
func WithSuiteName ¶
func WithSuiteName(s string) GodogRunnerOption
WithSuiteName sets Godog suite name on the runner.
Click to show internal directories.
Click to hide internal directories.