HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduletasty-1.5.3Haskell2010

Test.Tasty.Ingredients.Basic

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.

  • 4 types
  • 4 values
  • Packagetasty-1.5.3
  • Exports8
  • LanguageHaskell2010
  • LicenceMIT
  • SourceBasic.hs

Console test reporter

4 declarations
newtypenewtype Quiet
#

Do not print test results (see README for details).

Constructors

Instances3Eq, Ord, IsOption
  • Eq QuietDefined in tasty-1.5.3 · Test.Tasty.Ingredients.ConsoleReporter
  • Ord QuietDefined in tasty-1.5.3 · Test.Tasty.Ingredients.ConsoleReporter
  • IsOption QuietDefined in tasty-1.5.3 · Test.Tasty.Ingredients.ConsoleReporter
newtypenewtype AnsiTricks
#

By default, when the option --hide-successes is given and the output goes to an ANSI-capable terminal, we employ some ANSI terminal tricks to display the name of the currently running test and then erase it if it succeeds.

These tricks sometimes fail, however—in particular, when the test names happen to be longer than the width of the terminal window. See

When that happens, this option can be used to disable the tricks. In that case, the test name will be printed only once the test fails.

Instances1IsOption

Listing tests

3 declarations
newtypenewtype ListTests
#

This option, when set to True, specifies that we should run in the «list tests» mode.

Constructors

Instances3Eq, Ord, IsOption
  • Eq ListTestsDefined in tasty-1.5.3 · Test.Tasty.Ingredients.ListTests
  • Ord ListTestsDefined in tasty-1.5.3 · Test.Tasty.Ingredients.ListTests
  • IsOption ListTestsDefined in tasty-1.5.3 · Test.Tasty.Ingredients.ListTests

Adding options

1 declaration