suiteselection

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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