HTF: The Haskell Test Framework

[ lgpl, library, program, testing ] [ Propose Tags ]

The HTF lets you write HUnit tests ( and QuickCheck (http:/ properties in an easy and convenient way. Additionally, the HTF provides a facility for testing programs by running them and comparing the actual output with the expected output (so called "file-based tests"). The HTF uses Template Haskell to collect all tests and properties, so you do not need to write boilerplate code for that purpose. Preprocessor macros provide you with file name and line number information for tests and properties that failed.

Versions [faq] 0.1, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 0.11.2,,,,,,,,,,,,,,,,,,,
Dependencies base (>3), containers, directory, HUnit, process, QuickCheck (<2), random, template-haskell [details]
License LicenseRef-LGPL
Author Stefan Wehr <>
Maintainer none
Category Testing
Home page
Uploaded by GwernBranwen at Sun Feb 24 22:03:53 UTC 2008
Distributions LTSHaskell:, NixOS:, Stackage:
Executables htf-pp
Downloads 35502 total (544 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees