hspec-multicheck

Hspec Multicheck is an extension to the framework Hspec for Haskell. It enables execution of all defined tests using multiple different testing libraries while avoiding code duplication.


Keywords
library, public-domain, test, Test.Hspec.Multicheck, Haskell, Hspec, ListSpec.hs, QuickCheck, smallcheck
License
Unlicense
Install
cabal install hspec-multicheck-0.1

Documentation

hspec-multicheck Build Status

A testing framework for Haskell using Hspec. Basically the framework is identical to Hspec. However, this framework is designed to execute all test cases using both, QuickCheck and Smallcheck. Thus, instances for Arbitrary and Series might be required for variables used in test cases.

If you want to test all your properties using QuickCheck and smallcheck you may use this library to reduce code duplication.

Have a look at ListSpec.hs if you would like to see an example (e.g. for quickly getting started).

For further information you may have a look at the pages of Hspec, QuickCheck and smallcheck.