Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Synopsis
- 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 :: Ingredient Source #
A simple console UI
Do not print test results (see README for details)
newtype HideSuccesses Source #
Report only failed tests
Instances
Eq HideSuccesses Source # | |
Defined in Test.Tasty.Ingredients.ConsoleReporter (==) :: HideSuccesses -> HideSuccesses -> Bool # (/=) :: HideSuccesses -> HideSuccesses -> Bool # | |
Ord HideSuccesses Source # | |
Defined in Test.Tasty.Ingredients.ConsoleReporter compare :: HideSuccesses -> HideSuccesses -> Ordering # (<) :: HideSuccesses -> HideSuccesses -> Bool # (<=) :: HideSuccesses -> HideSuccesses -> Bool # (>) :: HideSuccesses -> HideSuccesses -> Bool # (>=) :: HideSuccesses -> HideSuccesses -> Bool # max :: HideSuccesses -> HideSuccesses -> HideSuccesses # min :: HideSuccesses -> HideSuccesses -> HideSuccesses # | |
IsOption HideSuccesses Source # | |
Listing tests
listingTests :: Ingredient Source #
The ingredient that provides the test listing functionality
This option, when set to True
, specifies that we should run in the
«list tests» mode
Adding options
includingOptions :: [OptionDescription] -> Ingredient Source #
This ingredient doesn't do anything apart from registering additional options.
The option values can be accessed using askOption
.