Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Feature ¶
Feature represents a Gherkin feature file.
func ParseFeature ¶
ParseFeature parses a Gherkin feature file content into a Feature struct.
type Step ¶
type Step struct {
Keyword string // Given, When, Then, And, But
Text string // The full step text
Args map[string]string // Extracted parameters (populated by step matcher)
}
Step represents a single step (Given/When/Then) in a scenario.
func (*Step) ExtractCurlyBraceParams ¶
ExtractCurlyBraceParams extracts parameters in {param} format.
func (*Step) ExtractQuotedStrings ¶
ExtractQuotedStrings extracts all quoted strings from the step text. This is a helper for step matchers to extract parameters.
func (*Step) NormalizeStepType ¶
NormalizeStepType returns the normalized step type (Given/When/Then) for And/But steps.
Click to show internal directories.
Click to hide internal directories.