tasty-hunit-compat-0.1.0: Tasty integration with the existing HUnit package.

Safe HaskellNone
LanguageHaskell2010

Test.Tasty.HUnit

Description

HUnit support for tasty.

We don't use `tasty-hunit` directly because it doesn't interoperate properly with other HUnit-based code. Specifically, it defines its own HUnitFailure type and catches exceptions of this type. It doesn't catch HUnit's HUnitFailure, so they are not pretty-printed.

Synopsis

Documentation

testCase :: TestName -> Assertion -> TestTree Source #

Turn an Assertion into a tasty test case