runner

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package runner is responsible for executing test suites.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

Runner executes test suites and reports results.

func NewRunner

func NewRunner(env models.Environment, varManager *variables.Manager, reporter reporter.Reporter, options RunnerOptions) *Runner

NewRunner creates a new test runner instance.

func (*Runner) AllPassed

func (r *Runner) AllPassed() bool

AllPassed returns true if all tests passed.

func (*Runner) RunAll

func (r *Runner) RunAll(dir string) error

RunAll executes all test suites in a given directory.

func (*Runner) RunSingleTest

func (r *Runner) RunSingleTest(filePath string, testName string) error

RunSingleTest executes a single test and its dependencies.

func (*Runner) RunSuite

func (r *Runner) RunSuite(filePath string) error

RunSuite executes all tests within a single suite file.

type RunnerOptions

type RunnerOptions struct {
	InsecureSSL bool // Determines whether to skip SSL certificate verification.
}

RunnerOptions holds configuration for the test runner.

Jump to

Keyboard shortcuts

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