Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReport ¶
FakeReport is the result of an execution with a fake T.
func WithFake ¶
func WithFake(t T, f func(T)) FakeReport
WithFake runs the given function with a fake T. Failures reported to the fake will not affect the current test. When the given function finishes running, WithFake produces a report of the test run.
Click to show internal directories.
Click to hide internal directories.