Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The test driver configuration options module.
Anything that can be passed as an argument to the test driver
definition exists as a field in the Config
type.
Synopsis
- data Config = Config {
- modules :: Maybe GlobPattern
- moduleSuffix :: Maybe String
- searchDir :: FilePath
- generatedModuleName :: Maybe String
- ignores :: Maybe GlobPattern
- ignoredModules :: [FilePath]
- tastyIngredients :: [Ingredient]
- tastyOptions :: [String]
- inPlace :: Bool
- noModuleSuffix :: Bool
- debug :: Bool
- treeDisplay :: Bool
- type GlobPattern = String
- parseConfig :: FilePath -> String -> [String] -> Either String Config
- defaultConfig :: FilePath -> Config
Configuration Options
The discovery and runner configuration.
Config | |
|
type GlobPattern = String Source #
A glob pattern.
Configuration Parser
parseConfig :: FilePath -> String -> [String] -> Either String Config Source #
Configuration options parser.
Configuration Defaults
defaultConfig :: FilePath -> Config Source #
The default configuration