Documentation ¶
Overview ¶
Package testutils provides utilities for testing.
Index ¶
Constants ¶
View Source
const MaxUUIDs = 10
MaxUUIDs is the maximum number of fixed UUIDs.
Variables ¶
This section is empty.
Functions ¶
func AssertJSON ¶
AssertJSON asserts that the JSON bytes are equal.
func AssertResponse ¶
AssertResponse asserts that the response status code and body are equal to the expected values.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package factory provides a way to create test data for the tests.
|
Package factory provides a way to create test data for the tests. |
Package testauth provides a mock implementation of auth.Auth for testing.
|
Package testauth provides a mock implementation of auth.Auth for testing. |
Click to show internal directories.
Click to hide internal directories.