HTF alternatives and similar packages
Based on the "Testing" category.
Alternatively, view HTF alternatives based on common mentions on social networks and blogs.
-
curl-runnings
A declarative test framework for quickly and easily writing integration tests against JSON APIs. -
quickcheck-arbitrary-adt
Typeclass for generating a list of each instance of a sum type's constructors -
test-framework-th
Automagically (using Template Haskell) generates the Haskell-code you need when using HUnit -
tasty-ant-xml
A tasty ingredient to output test results in XML, using the Ant schema. This XML can be consumed by the Jenkins continuous integration framework.
SaaSHub - Software Alternatives and Reviews
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.