ginkgo

package
v0.0.0-...-0d7ca9c Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitTag string

Functions

func Main

func Main()

Types

type Tester

type Tester struct {
	GinkgoArgs          string        `desc:"Additional arguments supported by the ginkgo binary."`
	Parallel            int           `desc:"Run this many tests in parallel at once."`
	SkipRegex           string        `desc:"Regular expression of jobs to skip."`
	FocusRegex          string        `desc:"Regular expression of jobs to focus on."`
	TestPackageURL      string        `desc:"The url to download a kubernetes test package from."`
	TestPackageVersion  string        `` /* 285-byte string literal not displayed */
	TestPackageDir      string        `desc:"The directory in the bucket which represents the type of release. Default to the release directory."`
	TestPackageMarker   string        `` /* 127-byte string literal not displayed */
	TestArgs            string        `` /* 137-byte string literal not displayed */
	UseBuiltBinaries    bool          `desc:"Look for binaries in _rundir/$KUBETEST2_RUN_DIR instead of extracting from tars downloaded from GCS."`
	UseBinariesFromPath bool          `desc:"Look for binaries in the $PATH instead of extracting from tars downloaded from GCS."`
	Timeout             time.Duration `desc:"How long (in golang duration format) to wait for ginkgo tests to complete."`
	Env                 []string      `desc:"List of env variables to pass to ginkgo libraries"`
	// contains filtered or unexported fields
}

func NewDefaultTester

func NewDefaultTester() *Tester

func (*Tester) AcquireTestPackage

func (t *Tester) AcquireTestPackage() error

AcquireTestPackage obtains three test binaries and places them in $KUBETEST2_RUN_DIR. The first is "ginkgo", the actual ginkgo executable. The second is "e2e.test", which contains kubernetes e2e test cases. The third is "kubectl".

func (*Tester) Execute

func (t *Tester) Execute() error

func (*Tester) SetRunDir

func (t *Tester) SetRunDir(dir string)

func (*Tester) Test

func (t *Tester) Test() error

Test runs the test

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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