test_runner

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestRunner

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

testRunner is used to run multiple tests

func NewQuietTestRunner

func NewQuietTestRunner(steps []TestRunnerStep) TestRunner

func NewTestRunner

func NewTestRunner(steps []TestRunnerStep) TestRunner

func (TestRunner) Run

func (r TestRunner) Run(isDebug bool, executable *executable.Executable) bool

Run runs all tests in a stageRunner

type TestRunnerStep

type TestRunnerStep struct {
	// TestCase is the test case that'll be run against the user's code.
	TestCase tester_definition.TestCase

	// TesterLogPrefix is the prefix that'll be used for all logs emitted by the tester. Example: "stage-1"
	TesterLogPrefix string

	// Title is the title of the test case. Example: "Stage #1: Bind to a port"
	Title string
}

Jump to

Keyboard shortcuts

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