runner

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAndRunTests

func RegisterAndRunTests(suite core.SuiteContext,
	registrant interface {
		core.Argumented
		core.TestRegistrant
	},
	args []string,
	watch bool,
	logDir *string,
	junitPath *string,
) error

RegisterAndRunTests registers the tests from the given registrant and runs them. It takes care of argument parsing, setting up the test manager, and producing reports. If watch is true, the output of the tests is forwarded to the console in real-time. If logDir is not nil, logs are saved to the given directory. If junitPath is not nil, a JUnit XML report is produced at the given path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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