HUnit

A unit testing framework for Haskell

http://hunit.sourceforge.net/

Version on this page:1.3.1.0@rev:1
LTS Haskell 22.21:1.6.2.0
Stackage Nightly 2024-05-06:1.6.2.0
Latest on Hackage:1.6.2.0

See all snapshots HUnit appears in

BSD-3-Clause licensed by Dean Herington
Maintained by Simon Hengel
This version can be pinned in stack with:HUnit-1.3.1.0@sha256:66e6014e6bb505612761d9c72e63ce9eba16c8ad2cf4c66aebcebcea04d3aefb,1381

Module documentation for 1.3.1.0

HUnit

HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java. HUnit is free software; see its “License” file for details. HUnit is available at http://hunit.sourceforge.net.

HUnit 1.1.1 consists of a number of files. Besides Haskell source files in Test/HUnit (whose names end in “.hs” or “.lhs”), these files include:

  * README.md       -- this file
  * doc/Guide.html  -- user's guide, in HTML format
  * LICENSE         -- license for use of HUnit

See the user’s guide for more information.

Changes

1.3.1.0

  • add minimal support for GHC 8.0

1.3.0.0

  • removed support for old compilers

  • add source locations for failing assertions (GHC >= 7.10.2 only)