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

Test.Hspec.Core.Format

Description

 
Synopsis

Documentation

type Format = Event -> IO () #

data Event #

Instances

Instances details
Show Event # 
Instance details

Defined in Test.Hspec.Core.Format

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

type Progress = (Int, Int) #

type Path = ([String], String) #

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 #

Location is used to represent source locations.

Instances

Instances details
Eq Location # 
Instance details

Defined in Test.Hspec.Core.Example.Location

Read Location # 
Instance details

Defined in Test.Hspec.Core.Example.Location

Show Location # 
Instance details

Defined in Test.Hspec.Core.Example.Location

newtype Seconds #

Constructors

Seconds Double 

Instances

Instances details
Eq Seconds # 
Instance details

Defined in Test.Hspec.Core.Clock

Methods

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

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

Fractional Seconds # 
Instance details

Defined in Test.Hspec.Core.Clock

Num Seconds # 
Instance details

Defined in Test.Hspec.Core.Clock

Ord Seconds # 
Instance details

Defined in Test.Hspec.Core.Clock

Show Seconds # 
Instance details

Defined in Test.Hspec.Core.Clock

PrintfArg Seconds # 
Instance details

Defined in Test.Hspec.Core.Clock

data Item #

Instances

Instances details
Show Item # 
Instance details

Defined in Test.Hspec.Core.Format

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

data Result #

Instances

Instances details
Show Result # 
Instance details

Defined in Test.Hspec.Core.Format

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