engine

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertionFailure

type AssertionFailure struct {
	Err      *oops.AppError
	Response []byte
	Flow     *app.Flow
	Step     *app.Step
}

func (*AssertionFailure) Error

func (self *AssertionFailure) Error() string

func (*AssertionFailure) Unwrap

func (self *AssertionFailure) Unwrap() error

type Runner

type Runner struct {
	RunId string
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(settings RunnerSettings) *Runner

func (*Runner) Execute

func (self *Runner) Execute(step *app.Step) ([]byte, error)

Execute a step.

Returns an AssertionFailure on an error caused from assertion failure which is not an actual error.

func (*Runner) StepsRan

func (self *Runner) StepsRan() int

func (*Runner) TotalSteps

func (self *Runner) TotalSteps() int

type RunnerSettings

type RunnerSettings struct {
	// The settings file for this project.
	Cfg             *config.Cfg
	BaseUrlOverride string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL