hspec-bracket-0.0.1.0: The bracket definitions for Hspec

Copyright2019 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Test.Hspec.Bracket

Description

This module provides bracket definitions for Hspec Monads.

Synopsis

Documentation

bracketSpecWith_ Source #

Arguments

:: (Spec -> Spec)

execution strategy like parallel

-> IO a

begin action

-> IO b

end action

-> c

example item

-> SpecWith c

spec body

-> SpecWith c

result bracketed spec

bracket_ definition for SpecWith

bracketSpecWith Source #

Arguments

:: (Spec -> Spec)

execution strategy like parallel

-> IO a

open action

-> (a -> IO b)

close action

-> c

example item

-> (a -> SpecWith c)

spec body

-> SpecWith c

result bracketed spec

bracket definition for SpecWith