Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct { // CurrentDir is the current working directory when resolving relative path // names contained in the scenario. CurrentDir string // Defs are the worksheet definitions used when running the scenarions. In // the case where plugins are required, the definitions must be provided // directly via the context rather than relying solely on loading definitions // from a ws definition file. Defs *worksheets.Definitions // contains filtered or unexported fields }
Context holds all that is necessery to run a scenario.
type Scenario ¶
type Scenario struct { // Name is the scenario's name. Name string // contains filtered or unexported fields }
Scenario represents a single scenario from a .feature.
func ReadFeature ¶
ReadFeature reads a feature in gherkin syntax, and parses out all the scenarios contained herein.
Click to show internal directories.
Click to hide internal directories.