cucumber

package
v0.0.0-...-d09eed2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StepModules []func(ctx *godog.ScenarioContext, s *TestScenario)

StepModules is the list of functions used to add steps to a godog.ScenarioContext, you can add more to this list if you need test TestSuite specific steps.

Functions

func DefaultOptions

func DefaultOptions() godog.Options

Types

type TestScenario

type TestScenario struct {
	Suite     *TestSuite
	Variables map[string]interface{}
}

TestScenario holds that state of single scenario. It is not accessed concurrently.

type TestSuite

type TestSuite struct {
}

TestSuite holds the state global to all the test scenarios. It is accessed concurrently from all test scenarios.

func NewTestSuite

func NewTestSuite() *TestSuite

func (*TestSuite) InitializeScenario

func (suite *TestSuite) InitializeScenario(ctx *godog.ScenarioContext)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL