suiteselection

package
v0.0.0-...-a285bcf Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SuitesString

func SuitesString(suites []*testginkgo.TestSuite, prefix string) string

TODO re-collapse SuitesString returns a string with the provided suites formatted. Prefix is printed at the beginning of the output.

Types

type ConfigClientGetter

type ConfigClientGetter interface {
	GetConfigClient() (clientconfigv1.Interface, error)
}

type DiscoveryClientGetter

type DiscoveryClientGetter interface {
	GetDiscoveryClient() (discovery.AggregatedDiscoveryInterface, error)
}

type TestSuiteSelectionFlags

type TestSuiteSelectionFlags struct {
	TestFile string

	// Regex allows a selection of a subset of tests
	Regex string

	genericclioptions.IOStreams
}

TestSuiteSelectionFlags is used to run a suite of tests by invoking each test as a call to a child worker (the run-tests command).

func NewTestSuiteSelectionFlags

func NewTestSuiteSelectionFlags(streams genericclioptions.IOStreams) *TestSuiteSelectionFlags

func (*TestSuiteSelectionFlags) BindFlags

func (f *TestSuiteSelectionFlags) BindFlags(flags *pflag.FlagSet)

func (*TestSuiteSelectionFlags) SelectSuite

func (f *TestSuiteSelectionFlags) SelectSuite(
	suites []*testginkgo.TestSuite,
	args []string) (*testginkgo.TestSuite, error)

SelectSuite returns the defined suite plus the requested modifications to the suite in order to select the specified tests

func (*TestSuiteSelectionFlags) SetIOStreams

func (f *TestSuiteSelectionFlags) SetIOStreams(streams genericclioptions.IOStreams)

func (*TestSuiteSelectionFlags) Validate

func (f *TestSuiteSelectionFlags) Validate() error

Jump to

Keyboard shortcuts

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