Sean Leather wrote:
> 
>     My tests are making use of a nice console test runner I wrote that
>     supports both HUnit and QuickCheck (and is extensible to other test
>     providers by the user):
>     http://hackage.haskell.org/cgi-bin/hackage-scripts/package/test-framework.
> 
> 
> The description looks great! I might have to try it out.
> 
> I used HUnit with QuickCheck 2, so that I could run QC properties as
> HUnit tests. QC2 has the added ability (over QC1) to run a property and
> return a Bool instead of just exiting with an error, and that works
> nicely within HUnit. Does test-framework do something else to support QC
> running side-by-side with HUnit?

See:

http://software.complete.org/static/missingh/doc/MissingH/Test-HUnit-Utils.html

Also some examples at

http://git.complete.org/offlineimap?a=tree;f=testsrc;h=217ee16404384ba2ae3ad01bcdb5696fe495bbdf;hb=refs/heads/v7

see runtests.hs and TestInfrastructure.hs

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to