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
}
Click to show internal directories.
Click to hide internal directories.