Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoTests = errors.New("no tests")
Functions ¶
This section is empty.
Types ¶
type JSONResultHandler ¶ added in v0.0.514
type JSONResultHandler struct {
// contains filtered or unexported fields
}
func MakeJSONResultHandler ¶
func MakeJSONResultHandler(opts ResultHandlerOptions) JSONResultHandler
func (JSONResultHandler) HandleResults ¶ added in v0.0.514
func (jrh JSONResultHandler) HandleResults(c <-chan Result) bool
type JUnitResultHandler ¶ added in v0.0.514
type JUnitResultHandler struct {
// contains filtered or unexported fields
}
func MakeJUnitResultHandler ¶ added in v0.0.514
func MakeJUnitResultHandler(opts ResultHandlerOptions) JUnitResultHandler
func MakeJUnitResultHandlerWithGetTime ¶ added in v0.0.727
func MakeJUnitResultHandlerWithGetTime(opts ResultHandlerOptions, getTime func() time.Time) JUnitResultHandler
func (JUnitResultHandler) HandleResults ¶ added in v0.0.514
func (rh JUnitResultHandler) HandleResults(c <-chan Result) bool
type ParentTestContext ¶
type Result ¶
func (Result) MarshalJSON ¶
type ResultHandler ¶
type ResultHandlerOptions ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner(opts RunnerOptions) (*Runner, error)
func (*Runner) RunAndHandleResults ¶
func (runner *Runner) RunAndHandleResults(handler ResultHandler) bool
type RunnerOptions ¶
type StandardResultHandler ¶ added in v0.0.514
type StandardResultHandler struct {
// contains filtered or unexported fields
}
func MakeDefaultResultHandler ¶
func MakeDefaultResultHandler(opts ResultHandlerOptions) StandardResultHandler
func (StandardResultHandler) HandleResults ¶ added in v0.0.514
func (rh StandardResultHandler) HandleResults(c <-chan Result) bool
Click to show internal directories.
Click to hide internal directories.