# Functions
AddStack adds a stack trace to the end of the capture.
AnyCause satisfies the panic assertion irrespective of the cause.
Append adds a string to the end of the original captured message.
Appendf adds a (printf-style) formmatted message to the end of the capture.
CauseEqual checks that the panic is equal to the given cause.
Equal tests that the value returned by the given supplied matches the expected value.
ErrorContaining checks that the panic is of the built-in error type, where the result of calling err.Error() contains the given substring.
ErrorWithValue checks that the panic is of the built-in error type, where the result of calling err.Error() matches the given value.
Intercept starts a fluid chain for specifying testing mutations.
NewTestCapture creates a new TestCapture object.
Not inverts a given predicate.
PrintStack prints the call stack, starting from the given depth.
RequireLabel ensures that the given label is present in the value of the GOLABELS environment variable, where the latter is a comma-separated list of arbitrary labels, e.g.
RunTargetted runs a given function if it the test case was specified using a narrow-matching regular expression; for example, by running 'debug.test -test.run ^...$' or 'go test -run ^...$'.
ThatDoesNotPanic ensures that the given function f returns without panicking.
ThatPanicsAsExpected checks that the given function f panics, where the trapped panic complies with the supplied assertion.
Wait returns a Timesert object will block for up to the given timeout.
# Constants
DefaultWaitCheckInterval is the default value of the optional check interval passed to Wait().
EnvGolabels is the name of the environment variable used by RequireLabel.
# Variables
ErrSimulated is a pre-canned error, useful in simulating faults.
# Structs
InterceptorStub is an element in a fluid chain.
MockTester aids in the mocking of the Tester interface.
# Interfaces
Interceptor represents a mechanism for transforming the result of invoking Tester.Errorf().
SingleCapture represents one instance of the invocation of TestCapture.Errorf.
TestCapture provides a mechanism for capturing the results of tests.
Tester is an API-compatible stand-in for *testing.T.
TestSkipper is the API contract for testing.T.Skip().
Timesert provides a mechanism for awaiting an assertion or a condition from a test.
# Type aliases
Assertion is a check that must pass for Timesert.UntilAsserted to return without raising an error.
Mutation represents a transformation of the captured Tester.Errorf() invocation, where the formatted message is fed to a Mutation function, and the output is some transformation of the original.
PanicAssertion checks a given panic cause.
Predicate is a condition that must be satisfied for Timesert.Until to return.
Runnable in any no-arg function.