Versions in this module Expand all Collapse all v1 v1.6.3 Jun 2, 2017 v1.6.2 May 3, 2016 v1.6.1 Feb 26, 2016 Changes in this version + func NewSilentProblemReporter(out *Printer) *problem v1.6.0 Dec 13, 2015 Changes in this version + const CloseJson + const OpenJson + func NewConsole() io.Writer + func NewDotReporter(out *Printer) *dot + func NewGoTestReporter() *gotestReporter + func NewProblemReporter(out *Printer) *problem + func NewReporters(collection ...Reporter) *reporters + func NewStatisticsReporter(out *Printer) *statistics + func NewStoryReporter(out *Printer) *story + func PrintConsoleStatistics() + func QuietMode() + func SuppressConsoleStatistics() + type AssertionResult struct + Actual string + Error interface{} + Expected string + Failure string + File string + Line int + Skipped bool + StackTrace string + func NewErrorReport(err interface{}) *AssertionResult + func NewFailureReport(failure string) *AssertionResult + func NewSkipReport() *AssertionResult + func NewSuccessReport() *AssertionResult + type FailureView struct + Actual string + Expected string + Message string + type JsonReporter struct + func NewJsonReporter(out *Printer) *JsonReporter + func (self *JsonReporter) BeginStory(story *StoryReport) + func (self *JsonReporter) EndStory() + func (self *JsonReporter) Enter(scope *ScopeReport) + func (self *JsonReporter) Exit() + func (self *JsonReporter) Report(report *AssertionResult) + func (self *JsonReporter) Write(content []byte) (written int, err error) + type Printer struct + func NewPrinter(out io.Writer) *Printer + func (self *Printer) Dedent() + func (self *Printer) Indent() + func (self *Printer) Insert(text string) + func (self *Printer) Print(message string, values ...interface{}) + func (self *Printer) Println(message string, values ...interface{}) + type Reporter interface + BeginStory func(story *StoryReport) + EndStory func() + Enter func(scope *ScopeReport) + Exit func() + Report func(r *AssertionResult) + func BuildDotReporter() Reporter + func BuildJsonReporter() Reporter + func BuildSilentReporter() Reporter + func BuildStoryReporter() Reporter + type ScopeReport struct + File string + Line int + Title string + func NewScopeReport(title string) *ScopeReport + type ScopeResult struct + Assertions []*AssertionResult + Depth int + File string + Line int + Output string + Title string + type StoryReport struct + File string + Line int + Name string + Test T + func NewStoryReport(test T) *StoryReport + type T interface + Fail func()