gherkin

package
v0.0.0-...-7801012 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchesScenariosWithTags

func MatchesScenariosWithTags(filterTags string, scenarios []*messages.Pickle) 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
	Pickles  []*messages.Pickle
}

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