hspec2-0.5.0: Alpha version of Hspec 2.0

Safe HaskellNone
LanguageHaskell98

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

type Spec = SpecWith () Source

hspec :: Spec -> IO () Source

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

describe :: String -> SpecWith a -> SpecWith a Source

Combine a list of specs into a larger spec.