Documentation ¶
Overview ¶
Package lib contains proctor functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PauseAndReap ¶
func PauseAndReap()
PauseAndReap is like init. It runs forever and reaps any children.
Types ¶
type TestRunner ¶
type TestRunner interface { // ListTests returns a string slice of tests available to run. ListTests() ([]string, error) // TestCmds returns a slice of *exec.Cmd that will run the given tests. // There is no correlation between the number of exec.Cmds returned and the // number of tests. It could return one command to run all tests or a few // commands that collectively run all. TestCmds(tests []string) []*exec.Cmd }
TestRunner is an interface that must be implemented for each runtime integrated with proctor.
func TestRunnerForRuntime ¶
func TestRunnerForRuntime(runtime string) (TestRunner, error)
TestRunnerForRuntime returns a new TestRunner for the given runtime.
Click to show internal directories.
Click to hide internal directories.