Versions in this module Expand all Collapse all v0 v0.7.2 May 5, 2017 Changes in this version + const Version + var ErrPending = fmt.Errorf("step implementation is pending") + var ErrUndefined = fmt.Errorf("step is undefined") + func AvailableFormatters() map[string]string + func Build(bin string) error + func FlagSet(opt *Options) *flag.FlagSet + func Format(name, description string, f FormatterFunc) + func Run(suite string, contextInitializer func(suite *Suite)) int + func RunWithOptions(suite string, contextInitializer func(suite *Suite), opt Options) int + type Formatter interface + Defined func(*gherkin.Step, *StepDef) + Failed func(*gherkin.Step, *StepDef, error) + Feature func(*gherkin.Feature, string, []byte) + Node func(interface{}) + Passed func(*gherkin.Step, *StepDef) + Pending func(*gherkin.Step, *StepDef) + Skipped func(*gherkin.Step, *StepDef) + Summary func() + Undefined func(*gherkin.Step, *StepDef) + type FormatterFunc func(string, io.Writer) Formatter + type Options struct + Concurrency int + Format string + NoColors bool + Output io.Writer + Paths []string + Randomize int64 + ShowStepDefinitions bool + StopOnFailure bool + Strict bool + Tags string + type StepDef struct + Expr *regexp.Regexp + Handler interface{} + type Steps []string + type Suite struct + func (s *Suite) AfterScenario(f func(interface{}, error)) + func (s *Suite) AfterStep(f func(*gherkin.Step, error)) + func (s *Suite) AfterSuite(f func()) + func (s *Suite) BeforeScenario(f func(interface{})) + func (s *Suite) BeforeStep(f func(*gherkin.Step)) + func (s *Suite) BeforeSuite(f func()) + func (s *Suite) Step(expr interface{}, stepFunc interface{})