test

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2018 License: MIT Imports: 8 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL