Documentation
¶
Overview ¶
Package diagnostics provides the Diagnostics interface for reporting various test statistics as well as a no-op implementation of the interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostics ¶
type Diagnostics interface { // Name is the name of the component used in error messages. Name() string // Timing reports timing info. Timing(component, description, detail string, begin, end time.Time) error // Severe reports an error that is highly likely to cause problems in tests. Severe(err error) error // Warning reports a error that is unlikely to cause problems in tests, but // that you want to track anyway. Warning(err error) error // Close closes this diagnostics object. Close() error }
Diagnostics manages and outputs a test diagnostics.
Click to show internal directories.
Click to hide internal directories.