HTF
@
0.3
The Haskell Test Framework (HTF for short) lets you define and organize unit tests, QuickCheck properties, and black box tests in an easy and convenient way. HTF uses a custom preprocessor that collects test definitions automatically. HTF produces highly readable output for failing test cases: it provides exact file name and line number information, it colors and pretty prints expected and actual results, and it displays a diff highlighting the mismatching parts. The documentation of the Test.Framework.Tutorial module provides a tutorial for HTF. The sample directory in the HTF repo provides a good starting point for a project using HTF.
11
Dependencies
-
HUnit
>=1.2 && <1.3 -
QuickCheck
>=2 && <2.3 -
base
>=4 && <5 -
-
cpphs
>=1.11 -
-
haskell-src-exts
>=1.8.2 && <1.12 -
mtl
* -
pretty
* -
process
* -
random
*
Links
| Registry | hackage.haskell.org |
| Download | Download |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Version Details
| PURL |
pkg:hackage/HTF@0.3
spec |