discovery

package
v0.2.10-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StepFileName = regexp.MustCompile(`^(\d+)-(.*)\.(?:yaml|yml)$`)

Functions

func TryFindStepFiles added in v0.0.8

func TryFindStepFiles(path string) (map[string]Step, error)

Types

type Step added in v0.0.9

type Step struct {
	AssertFiles []string
	ErrorFiles  []string
	OtherFiles  []string
}

type Test

type Test struct {
	Test     *model.Test
	BasePath string
	Err      error
}

func DiscoverTests

func DiscoverTests(fileName string, selector labels.Selector, remarshal bool, paths ...string) ([]Test, error)

func LoadTest added in v0.0.3

func LoadTest(fileName string, path string, remarshal bool) ([]Test, error)

Jump to

Keyboard shortcuts

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