testselect

package
v0.0.0-...-7f795f1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(ctx context.Context, repo prowgen.Repository, baseSha, sha string) ([]string, error)

func Main

func Main()

Types

type TestSuite

type TestSuite struct {
	Name         string   `yaml:"name"`
	RunIfChanged []string `yaml:"run_if_changed"`
	// Tests are arbitrary strings. It is up to the caller to check the strings and decide whether
	// some code should be run. For example, they can match specific Bash function names or Make targets.
	Tests []string `yaml:"tests"`
}

type TestSuites

type TestSuites struct {
	List []TestSuite `yaml:"testsuites"`
}

TestSuites holds mapping between file path regular expressions and test suites that cover the paths.

Jump to

Keyboard shortcuts

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