Documentation ¶
Index ¶
- func AssertGoldenBytes(t TestingT, actual []byte, filename string)
- func AssertGoldenFile(t TestingT, actualFileName string, expectedFilename string)
- func AssertGoldenString(t TestingT, actual, filename string)
- func ResetEnv() func()
- func RunTestCaseWithCmd(t *testing.T, tests []testcase.CmdTestCase, ...)
- type HelperT
- type TestingT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGoldenBytes ¶
AssertGoldenBytes asserts that the give actual content matches the contents of the given filename
func AssertGoldenFile ¶
AssertGoldenFile assers that the content of the actual file matches the contents of the expected file
func AssertGoldenString ¶
AssertGoldenString asserts that the given string matches the contents of the given file.
func RunTestCaseWithCmd ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.