Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.