hspec-2.10.9: A Testing Framework for Haskell
Safe Haskell None
Language Haskell2010

Test.Hspec.Discover

Description

Warning: This module is used by hspec-discover . It is not part of the public API and may change at any time.

Synopsis

Documentation

hspec :: Spec -> IO () Source #

Run a given spec and write a report to stdout . Exit with exitFailure if at least one spec item fails.

Note : hspec handles command-line options and reads config files. This is not always desirable. Use evalSpec and runSpecForest if you need more control over these aspects.

describe :: HasCallStack => String -> SpecWith a -> SpecWith a Source #

The describe function combines a list of specs into a larger spec.

module Prelude