Runs a Golden test.
- Packagesandwich-0.3.1.0
- Exports12
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceGolden.hs
Main test function
1 declarationBuilt-in Goldens
5 declarationsGolden for a Text.
Golden for a String.
Make your own Golden constructor by providing goldenWriteToFile and goldenReadFromFile.
Parameters for a Golden
6 declarationsExpected output.
How to write into the golden file the file.
How to read the file.
Where to read/write the golden file for this test.
Where to save the actual file for this test. If it is Nothing then no file is written.
Whether to record a failure the first time this test is run.