skogsbaer/HTF

Haskell Test Framework

Haskell

55

332 commits

updated May 15, 2026

See the code

README

HTF - The Haskell Test Framework

Build Status Hackage

Summary

The Haskell Test Framework (HTF for short) lets you define and organize 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.

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.

Getting started

  • Read the tutorial.
  • Experiment with the sample project located in the sample directory of HTF's source tree.

Contributors

skogsbaer

276 commits

JPMoresmau

8 commits

andreasabel

6 commits

lslah

5 commits

skogsbaer/HTF

Haskell Test Framework

Haskell

55

332 commits

updated May 15, 2026

See the code

README

HTF - The Haskell Test Framework

Build Status Hackage

Summary

The Haskell Test Framework (HTF for short) lets you define and organize 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.

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.

Getting started

  • Read the tutorial.
  • Experiment with the sample project located in the sample directory of HTF's source tree.

Contributors

skogsbaer

276 commits

JPMoresmau

8 commits

andreasabel

6 commits

lslah

5 commits

Languages

Haskell

95.4%

Shell

4.5%