arnaucube
arnaucube/mirror-to-giteaPublic Self-hosted repository
mirror-to-gitea/vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go
vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.goRaw
 1package remote
 2
 3import "os"
 4
 5/*
 6The OutputInterceptor is used by the ForwardingReporter to
 7intercept and capture all stdin and stderr output during a test run.
 8*/
 9type OutputInterceptor interface {
10	StartInterceptingOutput() error
11	StopInterceptingAndReturnOutput() (string, error)
12	StreamTo(*os.File)
13}