Changes ======= Version 2.3.0.2 --------------- Switch from temporary-rc to temporary Version 2.3.0.1 --------------- Impose a lower bound version constraint on bytestring. Version 2.3 ----------- * Accepting tests is no longer done by a separate ingredient; instead it is now an option that affects tests themselves. * `--accept` used to run only golden tests; now all tests are run, but only golden tests are affected by this option * when accepting, all the usual options apply (such as `-j`) * when accepting, the interace is the same as when running * `defaultMain` and `acceptingTests` are kept for compatibility, but do not do anything and are obsolete * When a golden test file does not exist, it is created automatically, even when `--accept` is not specified. You'll see a message like UnboxedTuples: OK (0.04s) Golden file did not exist; created * No longer use lazy IO * `ValueGetter` type is gone (replaced by `IO`) * Because of that, the type of the primitive `goldenTest` is changed * `vgReadFile` function is gone (replaced by `Data.ByteString.readFile`) Version 2.2.2.4 --------------- * Warn when some tests threw exceptions during `--accept` * Properly handle exceptions; don't swallow Ctrl-C Version 2.2.2.3 --------------- Restore compatibility with older compilers Version 2.2.2.1 --------------- Relax `Cabal` dependency Version 2.2.2 ------------- Add `findByExtension` Version 2.2.1.2 --------------- Catch exceptions when accepting golden tests Version 2.2.1.1 --------------- Switch to `temporary-rc` Version 2.2.1 ------------- * Fix a bug where the result of the comparison function would reference yet unread data from a semiclosed file and the file gets closed, leading to a runtime exception * Export `writeBinaryFile` * Improve the docs * Update to work with `tasty-0.8` Version 2.2.0.2 --------------- Update to work with `tasty-0.7` Version 2.2.0.1 --------------- Update to work with `tasty-0.5` Version 2.2 ----------- Migrate to ingredients Version 2.1 ----------- Add `goldenVsStringDiff` Version 2.0.1 ------------- Update to work with `tasty-0.2` Version 2.0 ----------- Initial release of `tasty-golden` (derived from `test-framework-golden-1.1.x`)