step

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match(pattern, txt string) ([]interface{}, error)

Types

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry() *Registry

func (*Registry) AfterScenario

func (r *Registry) AfterScenario(fn func(w *world.World, featureName, scenarioName string, tags []string, err error) error) error

func (*Registry) BeforeScenario

func (r *Registry) BeforeScenario(fn func(w *world.World, featureName, scenarioName string, tags []string) error) error

func (*Registry) CheckExisting

func (r *Registry) CheckExisting(text string) error

func (*Registry) ExecuteAfterScenarios

func (r *Registry) ExecuteAfterScenarios(w *world.World, featureName, scenarioName string, tags []string, err error) error

func (*Registry) ExecuteBeforeScenarios

func (r *Registry) ExecuteBeforeScenarios(w *world.World, featureName, scenarioName string, tags []string) error

func (*Registry) ExecuteStep

func (r *Registry) ExecuteStep(text string, w *world.World) error

func (*Registry) Given

func (r *Registry) Given(pattern string, impl interface{}) error

func (*Registry) Then

func (r *Registry) Then(pattern string, impl interface{}) error

func (*Registry) When

func (r *Registry) When(pattern string, impl interface{}) error

Jump to

Keyboard shortcuts

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