sydtest-hspec-0.4.0.1: An Hspec companion library for sydtest
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Syd.Hspec

Synopsis

Documentation

fromHspec :: Spec -> Spec Source #

Import an Hspec Spec as a Sydtest Spec.

The reasoning behind this function is that, eventhough migration from hspec to sydtest is usually very simple, you might depend on certain libraries beyond your control that still use hspec. In that case you want to be able to still use those libraries but also use sydtest already.

For this reason, and because hspec doesn't tell you wether a test is pending until after you run it, pending tests are imported as passing tests.