Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
Config *yamlspec.ConcurrentConfig
BaseRunner TestRunner
Logger *logger.Logger
}
Runner executes test steps concurrently with multiple workers
func NewRunner ¶
func NewRunner(config *yamlspec.ConcurrentConfig, baseRunner TestRunner, logger *logger.Logger) *Runner
NewRunner creates a new concurrent test runner
type TestRunner ¶
type TestRunner interface {
// RunSteps executes multiple test steps sequentially
RunSteps(ctx context.Context, steps []yamlspec.TestStep) error
// Clone creates an independent copy of the runner for concurrent execution
Clone() interface{}
}
TestRunner interface that both TCP and HTTP runners must implement
Click to show internal directories.
Click to hide internal directories.