Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitOutputPrefs ¶
func InitOutputPrefs(opts ...OutputOpt)
InitOutputPrefs sets the default output prefs, typically during init(). Calls to this function outside of init() are unsupported and may panic or produce unexpected results.
Types ¶
type OutputOpt ¶
type OutputOpt func(outputPrefs) outputPrefs
OutputOpt is an option function for changing how a Result is handled when outputing test results.
func Describe ¶
Describe returns an OutputOpt which adds extra context about the assertion in any output that may result.
func OutputOnPass ¶
func OutputOnPass() OutputOpt
OutputOnPass returns an OutputOpt which tells assertions to still output passing results.
Click to show internal directories.
Click to hide internal directories.