Yet another test framework for Haskell

Version on this page:
LTS Haskell 22.22:
Stackage Nightly 2024-05-22:
Latest on Hackage:

See all snapshots sandwich appears in

BSD-3-Clause licensed by Tom McLaughlin
Maintained by [email protected]
This version can be pinned in stack with:sandwich-,7330

Please see the documentation.


Changelog for sandwich

Unreleased changes

  • Expose optionsDryRun and the --dry-run option.
  • Add command-line arguments for sandwich-quickcheck.
  • Add --visibility-threshold/-v option.
  • Fix an issue where TUI quit would hang in the presence of cleared results.
  • Display number of tests run in output message.
  • Catch and log exceptions in the TUI event loop.
  • Change runSandwichWithCommandLineArgs to use the print formatter by default, since we can’t figure out how to detect if we’re running under cabal test, which redirects stdout.

  • GHC 9 support

  • Add terminalUICustomExceptionFormatters.

  • Add parallelN for limiting the number of threads in a parallel.