Maintainer | Simon Hengel <sol@typeful.net> |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
- fromHUnitTest :: Test -> Spec
- specListFromHUnitTest :: Test -> [SpecTree ()]
Interoperability with HUnit
fromHUnitTest :: Test -> Spec Source #
Convert a HUnit test suite to a spec. This can be used to run existing HUnit tests with Hspec.
specListFromHUnitTest :: Test -> [SpecTree ()] Source #
specListFromHUnitTest
is similar to fromHUnitTest
, but it constructs a
list of SpecTree
s instead of a Spec
.