Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct { Elements []Scenario `json:"elements"` Uri string `json:"uri"` Id string `json:"id"` Keyword string `json:"keyword"` Name string `json:"name"` Description string `json:"description"` Linenumber int `json:"line"` }
func FormatFeature ¶
func FormatFeature(gherkinFeature *msgs.GherkinDocument_Feature) Feature
func FormatFeatureWithScenario ¶
func FormatFeatureWithScenario(gherkinFeature *msgs.GherkinDocument_Feature) Feature
func GenerateFeature ¶
func (*Feature) AddScenario ¶
type Filelocation ¶
type Filelocation struct {
Location string `json:"location"`
}
type Scenario ¶
type Scenario struct { Steps []Step `json:"steps"` Tags []Tag `json:"tags"` Id string `json:"id"` Keyword string `json:"keyword"` Name string `json:"name"` Description string `json:"description"` Type string `json:"type"` }
func FormatScenario ¶
func FormatScenario(gherkinScenario *msgs.GherkinDocument_Feature_Scenario) Scenario
func FormatScenarioWithSteps ¶
func FormatScenarioWithSteps(gherkinScenario *msgs.GherkinDocument_Feature_Scenario, stepstatus string) Scenario
func GenerateScenario ¶
func GenerateScenario() Scenario
func (*Scenario) AddStepObj ¶
type Step ¶
type Step struct { StepResult Stepresult `json:"result"` Keyword string `json:"keyword"` Name string `json:"name"` Line int `json:"line"` // contains filtered or unexported fields }
func (*Step) UpdateResult ¶
type Stepresult ¶
type Tag ¶
func FormatTags ¶
func FormatTags(cucumberTags []*msgs.GherkinDocument_Feature_Tag) []Tag
Click to show internal directories.
Click to hide internal directories.