Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnmatchedStepArgumentNumber = errors.New("func received more arguments than expected") ErrCannotConvert = errors.New("cannot convert argument") ErrUnsupportedArgumentType = errors.New("unsupported argument type") )
matchable errors
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct { *messages.GherkinDocument Pickles []*messages.Pickle Content []byte }
Feature is an internal object to group together the parsed gherkin document, the pickles and the raw content.
func (Feature) FindBackground ¶
FindBackground ...
func (Feature) FindExample ¶
FindExample ...
func (Feature) FindScenario ¶
FindScenario ...
type PickleResult ¶
PickleResult ...
type PickleStepResult ¶
type PickleStepResult struct { Status StepResultStatus FinishedAt time.Time Err error PickleID string PickleStepID string Def *StepDefinition }
PickleStepResult ...
func NewStepResult ¶
func NewStepResult(pickleID, pickleStepID string, match *StepDefinition) PickleStepResult
NewStepResult ...
type StepDefinition ¶
type StepDefinition struct { formatters.StepDefinition Args []interface{} HandlerValue reflect.Value // multistep related Nested bool Undefined []string }
StepDefinition ...
func (*StepDefinition) GetInternalStepDefinition ¶
func (sd *StepDefinition) GetInternalStepDefinition() *formatters.StepDefinition
GetInternalStepDefinition ...
type StepResultStatus ¶
type StepResultStatus int
StepResultStatus ...
const ( // Passed ... Passed StepResultStatus = iota // Failed ... Failed // Skipped ... Skipped // Undefined ... Undefined // Pending ... Pending )
Click to show internal directories.
Click to hide internal directories.