hspec-discover-2.4.1: 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 # 

Methods

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

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

Show Spec Source # 

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