Documentation
¶
Index ¶
- func RunOnboardingWizard() error
- func RunTestsInteractive(tests []runner.Test, executor *runner.Executor) ([]runner.TestResult, error)
- func RunTestsInteractiveWithOpts(tests []runner.Test, executor *runner.Executor, opts *InteractiveOpts) ([]runner.TestResult, error)
- func ShowTestList(tests []runner.Test) error
- func ShowTestListWithExecutor(tests []runner.Test, executor *runner.Executor, ...) error
- type Config
- type InteractiveOpts
- type Readiness
- type Recording
- type Service
- type Start
- type TestExecution
- type Traces
- type TuskAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunOnboardingWizard ¶
func RunOnboardingWizard() error
func RunTestsInteractive ¶
func RunTestsInteractiveWithOpts ¶
func RunTestsInteractiveWithOpts(tests []runner.Test, executor *runner.Executor, opts *InteractiveOpts) ([]runner.TestResult, error)
func ShowTestList ¶
Types ¶
type Config ¶
type Config struct {
Service Service `yaml:"service"`
Traces Traces `yaml:"traces"`
TestExecution TestExecution `yaml:"test_execution"`
Recording Recording `yaml:"recording"`
TuskAPI *TuskAPI `yaml:"tusk_api,omitempty"`
}
type InteractiveOpts ¶
type InteractiveOpts struct {
OnTestCompleted func(res runner.TestResult, test runner.Test, executor *runner.Executor)
OnAllCompleted func(results []runner.TestResult, tests []runner.Test, executor *runner.Executor)
InitialServiceLogs []string
IsCloudMode bool
// A callback that TUI invokes async to prepare the list of runner.Test items.
LoadTests func(ctx context.Context) ([]runner.Test, error)
// If true, TUI waits for LoadTestsToComplete before starting the environment and executing tests.
StartAfterTestsLoaded bool
// A hook called after tests are available (at the very beginning of test execution),
// right before starting the environment.
OnBeforeEnvironmentStart func(executor *runner.Executor, tests []runner.Test) error
}
type TestExecution ¶
type TestExecution struct {
Timeout string `yaml:"timeout"`
}
Click to show internal directories.
Click to hide internal directories.