Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareWithFixture ¶
CompareWithFixture will compare output files with a test fixture and allows to automatically update them by setting the UPDATE env var. The output and golden paths are relative to the test's directory.
func CompareWithFixtureDir ¶
CompareWithFixtureDir will compare all files in a directory with a corresponding test fixture directory.
func CompareWithSerializedFixture ¶
CompareWithSerializedFixture compares an object that can be marshalled with a golden file containing the serialized version of the data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.