Documentation ¶
Index ¶
- func Match(pattern, txt string) ([]interface{}, error)
- type Registry
- func (r *Registry) AfterScenario(...) error
- func (r *Registry) BeforeScenario(fn func(w *world.World, featureName, scenarioName string, tags []string) error) error
- func (r *Registry) CheckExisting(text string) error
- func (r *Registry) ExecuteAfterScenarios(w *world.World, featureName, scenarioName string, tags []string, err error) error
- func (r *Registry) ExecuteBeforeScenarios(w *world.World, featureName, scenarioName string, tags []string) error
- func (r *Registry) ExecuteStep(text string, w *world.World) error
- func (r *Registry) Given(pattern string, impl interface{}) error
- func (r *Registry) Then(pattern string, impl interface{}) error
- func (r *Registry) When(pattern string, impl interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
func (*Registry) AfterScenario ¶
func (*Registry) BeforeScenario ¶
func (*Registry) CheckExisting ¶
func (*Registry) ExecuteAfterScenarios ¶
func (*Registry) ExecuteBeforeScenarios ¶
Click to show internal directories.
Click to hide internal directories.