Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryRunner ¶
type BinaryRunner struct {
RunnerBase
BinPath string
}
func NewBinaryRunner ¶
func NewBinaryRunner(binPath string) *BinaryRunner
type CLIRunner ¶
func GetTestRunner ¶
func GetTestRunner(opts ...RunnerOption) (CLIRunner, error)
type InProcessRunner ¶
type InProcessRunner struct {
RunnerBase
Root *cobra.Command
}
func NewInProcessRunner ¶
func NewInProcessRunner(rootCmd *cobra.Command) *InProcessRunner
type RunnerBase ¶
type RunnerBase struct {
// contains filtered or unexported fields
}
type RunnerOption ¶
type RunnerOption = func(base *RunnerBase) error
func WithConfigSetup ¶
func WithConfigSetup(config string, t *testing.T) RunnerOption
func WithDevelopmentConfig ¶
func WithDevelopmentConfig(t *testing.T) RunnerOption
Click to show internal directories.
Click to hide internal directories.