hspec-discover-2.5.6: Automatically discover and run Hspec tests

Safe HaskellSafe
LanguageHaskell2010

Test.Hspec.Discover.Run

Contents

Description

A preprocessor that finds and combines specs.

NOTE: This module is not meant for public consumption. For user documentation look at http://hspec.github.io/hspec-discover.html.

Synopsis

Documentation

run :: [String] -> IO () Source #

data Spec Source #

Constructors

Spec 
Instances
Eq Spec Source # 
Instance details

Defined in Test.Hspec.Discover.Run

Methods

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

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

Show Spec Source # 
Instance details

Defined in Test.Hspec.Discover.Run

Methods

showsPrec :: Int -> Spec -> ShowS #

show :: Spec -> String #

showList :: [Spec] -> ShowS #

importList :: [Spec] -> ShowS Source #

Generate imports for a list of specs.

moduleNameFromId :: String -> String Source #

Return module name of a fully qualified identifier.

pathToModule :: FilePath -> String Source #

Derive module name from specified path.

Orphan instances

IsString ShowS Source # 
Instance details

Methods

fromString :: String -> ShowS #