Documentation ¶
Overview ¶
Package fail provides methods to test and verify failing assertions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertFails ¶
AssertFails asserts that the given test function fails the test.
Types ¶
type TestSetup ¶
type TestSetup struct {
// contains filtered or unexported fields
}
TestSetup represents an already set up test environment, which provides a variant on AssertFails that fails the test as normal, but also fails the test if the setup function causes test failures.
Click to show internal directories.
Click to hide internal directories.