Bug#644382: ITP: haskell-test-framework-th -- Automagically generate the {HUnit,Quickcheck}-bulk-code
Package: wnpp
Severity: wishlist
Owner: Kiwamu Okabe <kiwamu@debian.or.jp>
* Package name : haskell-test-framework-th
Version : 0.2.2
Upstream Author : Oscar Finnsson & Emil Nordling
* URL : http://github.com/finnsson/test-generator
Vcs-Browser :
http://anonscm.debian.org/gitweb/?p=collab-maint/haskell-test-framework-th.git
* License : BSD3
Programming Lang: Haskell
Description : Automagically generate the {HUnit,Quickcheck}-bulk-code
test-framework-th contains two interesting functions:
defaultMainGenerator and testGroupGenerator.
defaultMainGenerator will extract all functions beginning with
"case_" or "prop_" in the module and put them in a testGroup.
testGroupGenerator is like defaultMainGenerator but without defaultMain.
It is useful if you need a function for the testgroup
(e.g. if you want to be able to call the testgroup from another module).
--
Kiwamu Okabe
Reply to: