cleveland-0.3.1: Testing framework for Morley.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cleveland.Tasty.Internal.Options

Description

This module declares all options/flags that tasty will parse from the command line/environment variables.

They're used to configure Test.Cleveland.

Synopsis

Documentation

newtype VerboseOpt Source #

To increase verbosity, pass -V several times on the command line (e.g. -VVV), or set TASTY_CLEVELAND_VERBOSE=3 as an environment variable.

Constructors

VerboseOpt Word 

clevelandOptions :: [OptionDescription] Source #

A list with all the options needed to configure Test.Cleveland.

mkParseValueWithReadM :: forall v a. ReadM a -> (a -> v) -> String -> Maybe v Source #

mkParseValue :: forall v a. HasCLReader a => (a -> v) -> String -> Maybe v Source #

Create an environment variable parser by reusing an instance of HasCLReader.

mkOptionParserWithReadM Source #

Arguments

:: forall v a. IsOption v 
=> ReadM a 
-> String

metavar

-> (a -> v) 
-> Maybe Char 
-> Parser v 

Build a command line option parser by reusing an instance of IsOption, for types that don't have an instance of HasCLReader.

mkOptionParser :: forall v a. (IsOption v, HasCLReader a) => (a -> v) -> Maybe Char -> Parser v Source #

Build a command line option parser by reusing instances of HasCLReader and IsOption