Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = Reporter{}
Default is the default, global instance of Reporter. Use judiciously.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct { TestResults []report.TestResult // contains filtered or unexported fields }
Reporter is a simple implementation for report.Reporter, a no-output reporter for capturing test results.
func (*Reporter) ArtifactRequirements ¶
func (r *Reporter) ArtifactRequirements() []report.ArtifactType
ArtifactRequirements returns a list of artifact types are this reporter requires to create a proper report.
func (*Reporter) GetAll ¶
func (r *Reporter) GetAll() []report.TestResult
GetAll returns all added test results, unless they've been purged via Reset().
Click to show internal directories.
Click to hide internal directories.