HTF: The Haskell Test Framework
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- These packages miss upper bounds: - Diff - HUnit - QuickCheck - aeson - array - base64-bytestring - bytestring - containers - cpphs - directory - haskell-src - lifted-base - monad-control - mtl - old-time - pretty - process - random - regex-compat - text - time - unix - vector - xmlgen Please add them, using `cabal gen-bounds` for suggestions. For more information see: https://pvp.haskell.org/
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.
[Skip to Readme]
Properties
Modules
[Index] [Quick Jump]
- Test
- Test.Framework
- Test.Framework.AssertM
- Test.Framework.BlackBoxTest
- Test.Framework.HUnitWrapper
- Test.Framework.History
- Test.Framework.JsonOutput
- Test.Framework.Location
- Test.Framework.Preprocessor
- Test.Framework.Pretty
- Test.Framework.PrettyHaskell
- Test.Framework.QuickCheckWrapper
- Test.Framework.TestInterface
- Test.Framework.TestManager
- Test.Framework.TestTypes
- Test.Framework.ThreadPool
- Test.Framework.Tutorial
- Test.Framework.XmlOutput
- Test.Framework
Downloads
- HTF-0.15.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees