The HTF package

[Tags: lgpl, library, program]

The Haskell Test Framework (HTF for short) lets you define unit tests (http://hunit.sourceforge.net), QuickCheck properties (http://www.cs.chalmers.se/~rjmh/QuickCheck/), and black box tests in an easy and convenient way. The HTF uses a custom preprocessor that collects test definitions automatically. Furthermore, the preprocessor allows the HTF to report failing test cases with exact file name and line number information.

The documentation of the Test.Framework.Tutorial module provides a tutorial for the HTF.


[Skip to ReadMe]

Properties

Versions0.1, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5.0, 0.4.0.0, 0.5.0.0, 0.5.0.1, 0.6.0.0, 0.6.0.1, 0.7.0.0, 0.7.0.1, 0.7.1.0, 0.8.0.0, 0.8.1.0, 0.8.1.1, 0.8.2.0, 0.8.2.1, 0.8.2.2, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.10.0.2, 0.10.0.3, 0.10.0.4, 0.10.0.5, 0.10.0.6, 0.10.0.7, 0.11.0.0, 0.11.0.1, 0.11.1.0, 0.11.1.1, 0.11.2, 0.11.2.1, 0.11.3.0, 0.11.3.1, 0.11.3.2, 0.11.3.4, 0.11.4.0, 0.12.0.0, 0.12.1.0, 0.12.2.0, 0.12.2.1, 0.12.2.2, 0.12.2.3, 0.12.2.4, 0.13.0.0
Change logNone available
Dependenciesbase (==4.*), containers, cpphs (>=1.11), directory, haskell-src-exts (>=1.8.2), HUnit (>=1.2), mtl, pretty, process, QuickCheck (>=2), random [details]
LicenseLGPL
Copyright(c) 2005-2010 Stefan Wehr
AuthorStefan Wehr <mail@stefanwehr.de>
MaintainerStefan Wehr <mail@stefanwehr.de>
StabilityBeta
CategoryTesting
Bug trackermailto:mail@stefanwehr.de
Executableshtfpp
UploadedTue Mar 16 16:51:31 UTC 2010 by StefanWehr
DistributionsLTSHaskell:0.12.2.4, NixOS:0.13.0.0, Stackage:0.13.0.0
Downloads14602 total (420 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for HTF-0.3.1

                    HTF - The Haskell Test Framework
                  ====================================

Author:  Stefan Wehr <mail AT stefanwehr DOT de>
License: LGPL

The Haskell Test Framework (HTF for short) lets you define unit tests
(http://hunit.sourceforge.net), QuickCheck properties
(http://www.cs.chalmers.se/~rjmh/QuickCheck/), and black box tests in an
easy and convenient way. The HTF uses a custom preprocessor that collects
test definitions automatically. Furthermore, the preprocessor allows the
HTF to report failing test cases with exact file name and line number
information.

The documentation of the Test.Framework.Tutorial module provides a
tutorial for the HTF.

NOTE: If you use black box tests, you have to compile your program
with the `-threaded' option. Otherwise, your program just blocks
indefinitely!


Requirements:
-------------

- GHC (tested with 6.10.4)
- Some haskell libraries, see HTF.cabal


Installation instructions:
--------------------------

runhaskell setup.hs configure
runhaskell setup.hs build
runhaskell setup.hs install   (probably as root)