chell-hunit-0.1.0.1: HUnit support for Chell, a quiet test runner
Test.Chell.HUnit
Synopsis
hunit :: Text -> Assertion -> SuiteSource
Convert a sequence of HUnit assertions (embedded in IO) to a Chell Suite.
Suite
import Test.Chell import Test.Chell.HUnit import Test.HUnit tests :: [Suite] tests = [ suite "foo" [ hunit "bar" $ do 1 + 2 @?= 3 ] ]