hspec-contrib-0.2.1: Contributed functionality for Hspec

MaintainerSimon Hengel <sol@typeful.net>
Safe HaskellNone
LanguageHaskell2010

Test.Hspec.Contrib.HUnit

Contents

Description

 

Synopsis

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 SpecTrees instead of a Spec.