Package Info

ghc-doctest-prop


Allow QuickCheck-style property testing within doctest


Development/Libraries/Haskell

Please use <https://hackage.haskell.org/package/doctest doctest> that supports <https://github.com/sol/doctest#quickcheck-properties QuickCheck properties>.

This package allows you to write QuickCheck properties and HUnit assertions within doctest, using functions that keep silence when test succeeds and print out the test outputs otherwise.

To enjoy behavior driven development in Haskell, first import 'Test.DocTest.Prop', and use 'prop', 'propWith' and 'unit' to write in-place tests. For more details, please refer to examples in the module 'Test.DocTest.Prop' .


License: MIT
URL: https://hackage.haskell.org/package/doctest-prop

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.0.1-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-doctest-prop
  • ghc-doctest-prop-devel
0.2.0.1-bp150.2.6 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-doctest-prop
  • ghc-doctest-prop-devel
0.2.0.1-bp150.2.7 info GA Release 2018-07-30 15
  • x86-64
  • ghc-doctest-prop
  • ghc-doctest-prop-devel