testsuite

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestSuite

func NewTestSuite(t *testing.T, scenarioInitializer func(ctx *godog.ScenarioContext), opts ...TestSuiteOption)

NewTestSuite creates a new test suite

Types

type TestSuiteOption

type TestSuiteOption func(*godog.Options)

TestSuiteOption is a type that represents a test suite option

func WithConcurrency

func WithConcurrency(concurrency int) TestSuiteOption

WithConcurrency is a TestSuiteOption that sets the concurrency of the test suite. If the concurrency is set to 0, the test suite will NOT run in parallel

Default: 4

func WithPaths

func WithPaths(paths ...string) TestSuiteOption

WithPaths is a TestSuiteOption that sets the paths of the test suite

Default: "features"

Jump to

Keyboard shortcuts

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