tasty-hunit

HUnit support for the Tasty test framework.

https://github.com/feuerbach/tasty

Version on this page:0.10.0.1
LTS Haskell 22.39:0.10.2
Stackage Nightly 2024-10-31:0.10.2
Latest on Hackage:0.10.2

See all snapshots tasty-hunit appears in

MIT licensed and maintained by Roman Cheplyaka
This version can be pinned in stack with:tasty-hunit-0.10.0.1@sha256:b8d274e67e3176df234e4f3536e9e000eaf947a12b3dd31052301da98a2574de,1197

Module documentation for 0.10.0.1

Depends on 3 packages(full list with versions):
Used by 1 package in lts-13.19(full list with versions):

HUnit support for the Tasty test framework.

Changes

Changes

Version 0.10.0.1

Un-deprecate (@?) and AssertionPredicable and improve their docs

Version 0.10

  • Make assertFailure’s return type polymorphic
  • When a test fails, print the source location of the failing assertion
  • Deprecate Assertable, AssertionPredicate, AssertionPredicable, (@?)

Version 0.9.2

Add testCaseInfo for tests that return some information upon success

Version 0.9.1

Add testCaseSteps for multi-step tests

Version 0.9.0.1

Split the changelog out of the main tasty changelog

Version 0.9

tasty-hunit now does not depend on the original HUnit package. The functions that were previously re-exported from HUnit have been simply copied to tasty-hunit.

This is motivated by:

  • efficiency (one less package to compile/install)
  • reliability (if something happens with HUnit, we won’t be affected)

The two packages are still compatible, except for the name clashes and distinct exception types being thrown on assertion failures.

Version 0.8.0.1

Fix unbuildable haddock

Version 0.8

  • Exceptions are now handled by tasty rather than by HUnit
  • Update to tasty-0.8

Version 0.4.1

Do not re-export HUnit’s Testable class

Version 0.2

Re-export useful bits of Test.HUnit from Test.Tasty.HUnit