Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- run :: [String] -> IO ()
- data Spec
- importList :: Maybe [Spec] -> ShowS
- driverWithFormatter :: String -> ShowS
- moduleNameFromId :: String -> String
- pathToModule :: FilePath -> String
- data Tree
- data Forest = Forest Hook [Tree]
- data Hook
- discover :: FilePath -> IO (Maybe Forest)
Documentation
importList :: Maybe [Spec] -> ShowS Source #
Generate imports for a list of specs.
driverWithFormatter :: String -> ShowS Source #
moduleNameFromId :: String -> String Source #
Return module name of a fully qualified identifier.
pathToModule :: FilePath -> String Source #
Derive module name from specified path.
Constructors
WithHook | |
WithoutHook |
Orphan instances
IsString ShowS Source # | |
Methods fromString :: String -> ShowS |