Safe Haskell | None |
---|---|
Language | Haskell2010 |
Golden testing provider for tasty
This module implements the golden testing pattern.
Please refer to the README.md for usage instructions.
Documentation
Golden test run mode
RunTest | Run the tests, error (with diff) on actual vs expectation mismatch |
UpdateExpected | Run the tests, update the expectation on actual vs expectation mismatch |
Define a diff test
Define a golden test
:: (Text -> IO ()) | line printer |
-> Text | expected text |
-> Text | actual (observed) text |
-> ResultDetailsPrinter |
Golden test diff details printer