MPL-2.0 licensed by Serokell
Maintained by Serokell
This version can be pinned in stack with:tasty-hunit-compat-0.2.0.1@sha256:6ef80ddbe71aa24c7215ff4ca07f5b50a3665cdebe55fb93e95190032cd3a5a1,1233

Module documentation for 0.2.0.1

Tasty-hunit-compat

Build status

This library implements the integration between tasty and HUnit packages.

The way tasty provides this integration is reimplementing HUnit primitives, and this does not work with test suites written with the original HUnit library. One issue we are aware of is that test failures are treated as plain exceptions, not true failures.

Build Instructions

Run make to build everything.

Usage

Use testCase or more advanced primitives to lift HUnit’s Assertion to tasty’s TestTree.

Commonly useful methods from HUnit are also re-exported.

import Test.Tasty (TestTree)
import Test.Tasty.HUnit (testCase, (@?=))

test_Reversals :: [TestTree]
test_Reversals =
  [ testCase "Simple case" $
      reverse "abc" @?= "cba"
  ]

Issue Tracker

We use GitHub issues as our issue tracker. You can login using your GitHub account to leave a comment or create a new issue.

For Contributors

Please see CONTRIBUTING.md for more information.

About Serokell

tasty-hunit-compat is maintained and funded with ❤️ by Serokell. The names and logo for Serokell are trademark of Serokell OÜ.

We love open source software! See our other projects or hire us to design, develop and grow your idea!

Changes

Unreleased

0.2.0.1

Update package metadata.

0.2

Re-export commonly used methods from HUnit.

0.1.0

Initial version of the package.