provisioning

package
v1.43.6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Selector

type Selector interface {
	// Match returns `true` if the scenario should be run, `false` otherwise.
	Match(testCase scenario) bool
}

Selector allows to exclude or include the test scenarios.

func And added in v1.43.0

func And(s1 Selector, s2 Selector) Selector

And is used to match against two selectors.

func NameSelector added in v1.43.0

func NameSelector(tcName string) Selector

NameSelector is used to match against a test case name

func Not

func Not(s Selector) Selector

Not returns the negation of the selector.

func OsSelector

func OsSelector(osName ...string) Selector

OsSelector is used to match test scenarios by OS name.

Jump to

Keyboard shortcuts

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