reporter

package
v0.0.0-...-37536b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2018 License: BSD-2-Clause Imports: 5 Imported by: 2

Documentation

Overview

Package reporter contains all the builtin test reporters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFailReporter

func NewFailReporter(t T) ext.Reporter

NewFailReporter creates and initializes a reporter that calls T.Fail when any test error occurs.

func NewTextProgresser

func NewTextProgresser(w io.Writer) ext.Reporter

NewTextProgresser creates and initialize a new text progresser using w to write the output.

func NewTextReporter

func NewTextReporter(w io.Writer, verbose bool) ext.Reporter

NewTextReporter creates and initialize a new text reporter using w to write the output.

Types

type T

type T interface {
	Fail()
}

T is an interface that allows a testing.T to be passed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL