summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go
blob: 5154abe87d59c72536c2b47dbe5b8a49a8dec8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package remote

import "os"

/*
The OutputInterceptor is used by the ForwardingReporter to
intercept and capture all stdin and stderr output during a test run.
*/
type OutputInterceptor interface {
	StartInterceptingOutput() error
	StopInterceptingAndReturnOutput() (string, error)
	StreamTo(*os.File)
}