hspec-core-2.8.3: A Testing Framework for Haskell
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Test.Hspec.Core.Format

Description

 
Synopsis

Documentation

type Format = Event -> IO () Source #

data Event Source #

Instances

Instances details
Show Event Source # 
Instance details

Defined in Test.Hspec.Core.Format

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

type Progress = (Int, Int) Source #

type Path = ([String], String) Source #

A Path describes the location of a spec item within a spec tree.

It consists of a list of group descriptions and a requirement description.

data Location Source #

Location is used to represent source locations.

newtype Seconds Source #

Constructors

Seconds Double 

Instances

Instances details
Eq Seconds Source # 
Instance details

Defined in Test.Hspec.Core.Clock

Methods

(==) :: Seconds -> Seconds -> Bool #

(/=) :: Seconds -> Seconds -> Bool #

Fractional Seconds Source # 
Instance details

Defined in Test.Hspec.Core.Clock

Num Seconds Source # 
Instance details

Defined in Test.Hspec.Core.Clock

Ord Seconds Source # 
Instance details

Defined in Test.Hspec.Core.Clock

Show Seconds Source # 
Instance details

Defined in Test.Hspec.Core.Clock

PrintfArg Seconds Source # 
Instance details

Defined in Test.Hspec.Core.Clock

data Item Source #

Instances

Instances details
Show Item Source # 
Instance details

Defined in Test.Hspec.Core.Format

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

data Result Source #

Instances

Instances details
Show Result Source # 
Instance details

Defined in Test.Hspec.Core.Format

monadic :: MonadIO m => (m () -> IO ()) -> (Event -> m ()) -> IO Format Source #