packages feed

test-framework-hunit 0.2.7 → 0.3.0

raw patch · 2 files changed

+4/−1 lines, 2 filesdep ~test-framework

Dependency ranges changed: test-framework

Files

Test/Framework/Providers/HUnit.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE DeriveDataTypeable #-} -- | Allows HUnit test cases to be used with the test-framework package. -- -- For an example of how to use test-framework, please see <http://github.com/batterseapower/test-framework/raw/master/example/Test/Framework/Example.lhs>@@ -11,6 +12,7 @@ import qualified Test.HUnit.Base import Test.HUnit.Lang +import Data.Typeable  -- | Create a 'Test' for a HUnit 'Assertion' testCase :: TestName -> Assertion -> Test@@ -56,6 +58,7 @@   newtype TestCase = TestCase Assertion+    deriving Typeable  instance Testlike TestCaseRunning TestCaseResult TestCase where     runTest topts (TestCase assertion) = runTestCase topts assertion
test-framework-hunit.cabal view
@@ -1,5 +1,5 @@ Name:                test-framework-hunit-Version:             0.2.7+Version:             0.3.0 Cabal-Version:       >= 1.2.3 Category:            Testing Synopsis:            HUnit support for the test-framework package.