sandwich

Yet another test framework for Haskell

https://codedownio.github.io/sandwich

Version on this page:0.1.3.0
LTS Haskell 22.14:0.2.2.0
Stackage Nightly 2024-03-28:0.2.2.0
Latest on Hackage:0.2.2.0

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-0.1.3.0@sha256:8ffb0cc8ed1a98cf776974e01517991a80852c8e13133486b110732925469d3f,8887

Please see the documentation.

Changes

Changelog for sandwich

Unreleased changes

0.1.3.0

  • Add the –prune option (#69)

0.1.2.0

  • Be able to control sandwich-webdriver download directory.
  • Add flags to control sandwich-webdriver Selenium paths: --selenium-jar, --chrome-binary, --chromedriver-binary, --firefox-binary, --geckodriver-binary.

0.1.1.2

  • Improve semantics of multiple --filter/-f arguments. Now they get applied to the test tree sequentially.

0.1.1.1

  • Fix error symlink creation on Windows (don’t allow invalid characters).

0.1.1.0

  • Be able to accept multiple --filter/-f arguments. A test must match all of them to be run.
  • Windows support.

0.1.0.11

  • Initial release Test.Sandwich.Golden for golden testing.
  • Support Brick 1.x in addition to 0.x.

0.1.0.10

  • Add Markdown Summary formatter (useful with GitHub Actions)
  • Release sandwich-hedgehog compatibility.

0.1.0.9

  • 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.

0.1.0.8

  • GHC 9 support

0.1.0.7

  • Add terminalUICustomExceptionFormatters.

0.1.0.6

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