behaviour

package
v0.0.0-...-6363e84 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package behaviour provides BDD tests functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {
	ConfigFile string
	// contains filtered or unexported fields
}

Test used in behaviour tests.

func NewTestSpecifications

func NewTestSpecifications() *Test

NewTestSpecifications provides a new instance of Test.

func (*Test) Loader

func (test *Test) Loader(sc *godog.ScenarioContext)

Loader bootstraps the tests.

func (*Test) MustClearState

func (test *Test) MustClearState(scenario *godog.Scenario)

MustClearState resets the state of the test.

func (*Test) MustStop

func (test *Test) MustStop()

MustStop frees up all test resources.

Jump to

Keyboard shortcuts

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