Documentation
¶
Overview ¶
Package testproxy provides a set of tools to replay Go tests results from remote systems to the local Go test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(t testing.TB, r Runner) io.ReadCloser
Run the Go test using runner and return a JSON event stream.
func RunAndReplay ¶
RunAndReplay runs the Go test using runner and replays all test results on t.
Types ¶
type Runner ¶
type Runner interface { // RunAndWait runs a Go test in verbose mode and streams its stdout and stderr to provided writers. RunAndWait(stdout, stderr io.Writer) error }
Runner represents a possibly remote go test.
func NewTestBinary ¶
NewTestBinary creates a test runner from a given test binary.
Click to show internal directories.
Click to hide internal directories.