tasty-hunit-compat

Tasty integration with the existing HUnit package.

https://gitlab.com/morley-framework/morley

Version on this page:0.2
LTS Haskell 22.17:0.2.0.1
Stackage Nightly 2023-12-26:0.2.0.1
Latest on Hackage:0.2.0.1

See all snapshots tasty-hunit-compat appears in

MPL-2.0 licensed by Serokell, Tocqueville Group
Maintained by Serokell
This version can be pinned in stack with:tasty-hunit-compat-0.2@sha256:71e077ae5c514fadd4586efc19315f10fa5f3c94770820f68f63768441d665f7,1199

Module documentation for 0.2

Tasty-hunit-compat

This package provides a proper integration of HUnit package with tasty testing framework.

Problem with tasty-hunit package is that it defines its own primitives so tests written using HUnit cannot work properly. In particular, HUnitFailure exception of HUnit package is not handled as assertion error.

One solution would be not to use HUnit at all, but we find this fragile and inconvenient.

This subproject should be moved to a separate repository soon.