Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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 = Spec {
- specFile :: FilePath
- specModule :: String
- importList :: [Spec] -> ShowS
- fileToSpec :: FilePath -> FilePath -> Maybe Spec
- findSpecs :: FilePath -> IO [Spec]
- getFilesRecursive :: FilePath -> IO [FilePath]
- driverWithFormatter :: String -> ShowS
- moduleNameFromId :: String -> String
- pathToModule :: FilePath -> String
Documentation
Spec | |
|
importList :: [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.