Stability | provisional |
---|---|
Safe Haskell | None |
Running a spec
Run given spec and write a report to stdout
.
Exit with exitFailure
if at least one spec item fails.
(see also hspecWith
)
hspecWith :: Config -> Spec -> IO SummarySource
Run given spec with custom options.
This is similar to hspec
, but more flexible.
Note: hspecWith
does not exit with exitFailure
on failing spec items.
If you need this, you have to check the Summary
yourself and act
accordingly.
Types
Summary of a test run.
Config | |
|