Safe Haskell | None |
---|
This module exports the basic ingredients defined in the tasty
packages.
Note that if defaultIngredients
from Test.Tasty suits your needs,
use that instead of importing this module.
- consoleTestReporter :: Ingredient
- newtype Quiet = Quiet Bool
- newtype HideSuccesses = HideSuccesses Bool
- listingTests :: Ingredient
- newtype ListTests = ListTests Bool
- testsNames :: OptionSet -> TestTree -> [TestName]
- includingOptions :: [OptionDescription] -> Ingredient
Console test reporter
consoleTestReporter :: IngredientSource
A simple console UI
Do not print test results (see README for details)
Quiet Bool |
newtype HideSuccesses Source
Report only failed tests
HideSuccesses Bool |
Eq HideSuccesses | |
Ord HideSuccesses | |
Typeable HideSuccesses | |
IsOption HideSuccesses |
Listing tests
listingTests :: IngredientSource
The ingredient that provides the test listing functionality
This option, when set to True
, specifies that we should run in the
ListTests Bool |
testsNames :: OptionSet -> TestTree -> [TestName]Source
Obtain the list of all tests in the suite
Adding options
includingOptions :: [OptionDescription] -> IngredientSource
This ingredient doesn't do anything apart from registering additional options.
The option values can be accessed using askOption
.