HTF alternatives and similar packages
Based on the "Testing" category.
Alternatively, view HTF alternatives based on common mentions on social networks and blogs.
-
hedgehog
Release with confidence, state-of-the-art property testing for Haskell. -
quickcheck-state-machine
Test monadic programs using state machine based models -
curl-runnings
A declarative test framework for quickly and easily writing integration tests against JSON API's. -
ghc-prof-flamegraph
Generates data to be used with flamegraph.pl from .prof files. -
monad-mock
A Haskell package that provides a monad transformer for mocking mtl-style typeclasses -
test-framework
Framework for running and organising QuickCheck test properties and HUnit test cases -
tasty-hedgehog
Tasty integration for the Hedgehog property testing library -
should-not-typecheck
A HUnit/hspec assertion to verify that an expression does not typecheck -
quickcheck-arbitrary-adt
Typeclass for generating a list of each instance of a sum type's constructors -
hspec-golden-aeson
Use tests to monitor changes in Aeson serialization -
test-framework-th
Automagically (using Template Haskell) generates the Haskell-code you need when using HUnit -
test-framework-sandbox
test-sandbox support for the test-framework package -
markov-chain-usage-model
Computations for Markov chain usage models
Access the most powerful time series database as a service
Do you think we are missing an alternative of HTF or a related project?
Popular Comparisons
README
HTF - The Haskell Test Framework
- Documentation: http://hackage.haskell.org/package/HTF
- Source Repository: https://github.com/skogsbaer/HTF/
- Issue tracker: https://github.com/skogsbaer/HTF/issues?state=open
- Author: Stefan Wehr (http://www.stefanwehr.de)
- License: LGPL
Summary
The Haskell Test Framework (HTF for short) lets you define unit tests (http://hackage.haskell.org/package/HUnit), QuickCheck properties (https://hackage.haskell.org/package/QuickCheck), and black box tests in an easy and convenient way. HTF uses a custom preprocessor that collects test definitions automatically. Furthermore, the preprocessor allows HTF to report failing test cases with exact file name and line number information. Additionally, HTF tries to produce highly readable output for failing tests: for example, it colors and pretty prints expected and actual results and provides a diff between the two values.
Look here for a short tutorial on HTF. The following slightly out-dated blog article demonstrates HTF's coloring, pretty-printing and diff functionality.
Installation instructions
- Install from http://hackage.haskell.org/ using
cabal install HTF
Install from source:
$ git clone [email protected]:skogsbaer/HTF.git $ cd HTF $ cabal install
Getting started
- Read the tutorial.
- Experiment with the sample project located in the
sample
directory of HTF's source tree.
*Note that all licence references and agreements mentioned in the HTF README section above
are relevant to that project's source code only.