discovery

package
v0.1.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StepFileName = regexp.MustCompile(`^(\d\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 {
	*v1alpha1.Test
	BasePath string
	Err      error
}

func DiscoverTests

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

func LoadTest added in v0.0.3

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

Jump to

Keyboard shortcuts

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