Documentation
¶
Index ¶
Constants ¶
View Source
const (
ThresholdFailed = 99 // return code when test thresholds fail
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K6ExecutorOptions ¶
type K6TestExecutor ¶
type K6TestExecutor struct {
Log *slog.Logger
K6ExecutorOptions
}
K6TestExecutor implements TestExecutor interface for running k6 test suites
func NewK6TestExecutor ¶
func NewK6TestExecutor( log *slog.Logger, opts K6ExecutorOptions, ) *K6TestExecutor
NewK6TestExecutor creates a new instance of K6TestExecutor
func (*K6TestExecutor) ExecTestSuite ¶
func (t *K6TestExecutor) ExecTestSuite( ctx context.Context, suite executor.TestSuite, env map[string]string, ) (executor.SuiteRunSummary, error)
execute test suite
func (*K6TestExecutor) Name ¶
func (t *K6TestExecutor) Name() string
Click to show internal directories.
Click to hide internal directories.