fixtures

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fixtures

func Fixtures() map[string][]Fixture

Fixtures returns all the fixtures for the e2ev2 tests.

Types

type Fixture

type Fixture struct {
	// Name is the name of the fixture.
	Name string
	// Args is the command arguments.
	Args []string
	// ExitCode is the expected exit code of the command.
	ExitCode int
	// Timeout is the maximum time to wait for the command to complete.
	Timeout time.Duration
	// NeedsAuth is set to configure a PAT and org ID before running the fixture.
	NeedsAuth bool
	// AssertSchema is the function that asserts the expected output.
	Assert func(t *testing.T, stdout, stderr []byte)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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