Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.