gherkin

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchesScenariosWithTags

func MatchesScenariosWithTags(filterTags string, scenarios []*godog.Scenario) bool

MatchesScenariosWithTags checks whether the given scenarioin has the given tags

func MatchingFeatureWithTags

func MatchingFeatureWithTags(filterTags string, features []*Feature) bool

MatchingFeatureWithTags checks whether any scenario in the feature has the given tags

Types

type Feature

type Feature struct {
	Document  *messages.GherkinDocument
	Scenarios []*godog.Scenario
}

Feature represents a Gherkin feature

func ParseFeatures

func ParseFeatures(filter string, paths []string) ([]*Feature, error)

ParseFeatures parse features from given paths

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳