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
unit to write
in-place tests. For more details, please refer to examples in the