Versions in this module Expand all Collapse all v1 v1.0.1 Jul 1, 2026 Changes in this version + var ErrCancel = errors.New("Cancelled") + var ErrInterrupt = errors.New("Interrupt") + var ErrSkip = errors.New("Skipped") + type ExitError struct + Code int + Name string + func (e *ExitError) Error() string + type Hook struct + After func(*State) error + AfterEach func(*State) error + Before func(*State) error + BeforeEach func(*State) error + GotLine func(*State, *Line) error + GotLogs func(*State, []*Line) error + type Line struct + Message string + Number int + Timestamp int64 + type OomError struct + Code int + Name string + func (e *OomError) Error() string + type Option func(*Runtime) + func WithConfig(c *engine.Spec) Option + func WithEngine(e engine.Engine) Option + func WithHooks(h *Hook) Option + type Runtime struct + func New(opts ...Option) *Runtime + func (r *Runtime) Resume(ctx context.Context, start int) error + func (r *Runtime) Run(ctx context.Context) error + type State struct + Runtime struct{ ... } + State *engine.State + Step *engine.Step v1.0.0 Jul 1, 2026