Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Instrumentation for Hspec test suites
Documentation
wrapSpec :: MonadIO m => m (SpecWith a -> SpecWith a) Source #
Creates a wrapper function that you can pass a spec into.
This function will wrap each it
test case with a span with the name of
the test case.
The context in which this is called determines the parent span of all of the spec items.