tasty-golden

Golden tests support for tasty https://github.com/feuerbach/tasty-golden

Latest on Hackage:2.3.4

See all snapshots tasty-golden appears in

MIT licensed by Roman Cheplyaka
Maintained by Roman Cheplyaka

Module documentation for 2.2.2.4

This version can be pinned in stack with:[email protected]:c29602fa1342a1b802b753ea4e51c267a139de0ab3cc56da9cfc5c11ee7ca968,1720
  • Test
    • Test.Tasty
      • Test.Tasty.Golden
        • Test.Tasty.Golden.Advanced
        • Test.Tasty.Golden.Manage

This package provides support for «golden testing». A golden test is an IO action that writes its result to a file. To pass the test, this output file should be identical to the corresponding «golden» file, which contains the correct result for the test.

Changes

Changes

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)