runner

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package runner provides the core test runner for E2E tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllTests

func AllTests() []types.Test

func NewEnvironment

func NewEnvironment(
	ctx context.Context,
	logger *zap.Logger,
	cfg Config,
	test string,
) (*types.Environment, error)

Types

type Config

type Config = types.Config

type Environment

type Environment = types.Environment

type Runner

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

func New

func New(logger *zap.Logger, cfg Config) *Runner

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

func (*Runner) Tests

func (r *Runner) Tests() []TestInfo

type Test

type Test = types.Test

type TestInfo

type TestInfo struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type TestResult

type TestResult struct {
	Name     string        `json:"name"`
	Status   string        `json:"status"`
	Duration time.Duration `json:"duration"`
	Error    string        `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

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