func AssertGoldenFile(t TestingT, actualFileName string, expectedFilename string)
AssertGoldenFile asserts that the content of the actual file matches the contents of the expected file
func AssertGoldenString(t TestingT, actual, filename string)
AssertGoldenString asserts that the given string matches the contents of the given file.
HelperT describes a test with a helper function
type HelperT interface { Helper() }
TestingT describes a testing object compatible with the critical functions from the testing.T type
type TestingT interface { Fatal(...interface{}) Fatalf(string, ...interface{}) HelperT }
Name | Synopsis |
---|---|
.. |