heck

Abstract unit test interface

Stackage Nightly 2026-01-11:1.0.0.1
Latest on Hackage:1.0.0.1

See all snapshots heck appears in

0BSD licensed
Maintained by Taylor Fausak
This version can be pinned in stack with:heck-1.0.0.1@sha256:99d417196c2cf07bd2ca7f90882571281dec84514e037995852298374533a835,839

Module documentation for 1.0.0.1

Depends on 1 package(full list with versions):
Used by 1 package in nightly-2026-01-11(full list with versions):

Heck

Heck is a Haskell library that provides a abstract unit test interface. It can be used to write tests without depending on any particular test library.

Example

import Heck

spec :: (Applicative m, Monad n) => Test m n -> n ()
spec t = describe t "something" $ do
  it t "works" $ do
    assertEq t 'b' (max 'a' 'b')
  it t "fails" $ do
    assertEq t "expected" "actual"

Changes

Change log

Heck follows the Package Versioning Policy. You can find release notes on GitHub.