hspec-core-2.11.16: A Testing Framework for Haskell

Safe Haskell | None
Language | Haskell2010

Test.Hspec.Core.Extension.Option

Description

Warning: This API is experimental.

# Documentation

data Option Source #

flag :: String -> (Bool -> Config -> Config) -> String -> Option Source #

argument :: String -> String -> (String -> Config -> Maybe Config) -> String -> Option Source #

noArgument :: String -> (Config -> Config) -> String -> Option Source #

optionalArgument :: String -> String -> (Maybe String -> Config -> Maybe Config) -> String -> Option Source #