Documentation ¶
Overview ¶
Package test provides testing utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoldenName ¶
GoldenName returns a path to the named golden file.
func Repeat ¶
Repeat the given trial function. The duration is controlled by custom command-line flags. The trial function returns whether it wants to continue testing.
-short run for less time than usual -long allow more time -stress run for an extremely long time
func RequireLong ¶
RequireLong marks this test as a long test. Test will be skipped if long tests are not enabled.
func RequireStress ¶
RequireStress marks this test as a stress test. Test will be skipped if stress tests are not enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.