tasty-quickcheck

QuickCheck support for the Tasty test framework.

https://github.com/feuerbach/tasty

Version on this page:0.10.1.1
LTS Haskell 22.43:0.10.2
Stackage Nightly 2024-12-05:0.11
Latest on Hackage:0.11

See all snapshots tasty-quickcheck appears in

MIT licensed and maintained by Roman Cheplyaka
This version can be pinned in stack with:tasty-quickcheck-0.10.1.1@sha256:b0a751bbe706447fd11cac21a7bbcf919631813aafaba3ce460a421348f6935c,1543

Module documentation for 0.10.1.1

QuickCheck support for the Tasty test framework.

Changes

Changes

Version 0.10.1.1

  • Accept underscores in --quickcheck-tests for readability, e.g. --quickcheck-tests 10_000_000.

Version 0.10.1

  • Add a –quickcheck-shrinks flag

Version 0.10

  • Do not re-export irrelevant Template Haskell QuickCheck functions
  • Make boolean options case-insensitive
  • Make –quickcheck-show-replay a command-line flag rather than an option requiring an argument True

Version 0.9.2

  • Add a testProperties function, which allows to test all QuickCheck properties defined in a module.

Version 0.9.1

  • Expose internal optionSetToArgs function

Version 0.9

  • Drop support for QuickCheck < 2.7

  • Change the --quickcheck-show-replay semantics

    Previously, when the flag was set to True, the seed was only shown on failure.

    Now, the seed is shown on failure regardless of the value of the flag, and the flag causes the seed to be shown on success.

    The default value for --quickcheck-show-replay is now False.

Version 0.8.4

Add a “–quickcheck-verbose” option

Version 0.8.3.2

  • Put correct lower version bound on tasty
  • Allow use of older QuickCheck for HP compatibility

Version 0.8.3.1

When QC message throws an exception, still print the replay message

Version 0.8.3

  • Export ‘show replay’ option
  • Fixed a run-time error when using QuickCheck’s expectFailure

Version 0.8.2

  • Allow suppressing the –quickcheck-replay hint
  • Split the changelog out of the main tasty changelog

Version 0.8.1

Re-export Gen from Test.Tasty.QuickCheck

Version 0.8.0.3

Upgrade to QuickCheck 2.7

Version 0.8

Update to tasty-0.8

Version 0.3.1

Use the original QuickCheck’s output format

Version 0.3

Add options for maximum size and maximum ratio; support replay.

Version 0.2

Re-export useful bits of Test.QuickCheck from Test.Tasty.QuickCheck