Documentation ¶
Overview ¶
Package test helpers for writing/running unit tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrStr ¶
ErrStr returns a string representation of the error, or empty if the error doesn't exist
func LoadFixture ¶
LoadFixture from testdata directory as []byte
func LoadFixtureJSON ¶
LoadFixtureJSON from testdata directory and unmarshal the JSON into the given interface
func LoadFixtureReader ¶
func LoadFixtureReader(t *testing.T, filename string) io.ReadCloser
LoadFixtureReader from testdata directory as io.ReadCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.