HORIZON HASKELLDocslts/ghc-9.14.xb2f3bfd2026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

ModuleCabal-3.16.0.0Haskell2010

Distribution.TestSuite

This module defines the detailed test suite interface which makes it possible to expose individual tests to Cabal or other test agents.

  • 7 types
  • 1 value
  • PackageCabal-3.16.0.0
  • Exports8
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTestSuite.hs
datadata TestInstance
#

Constructors

datadata OptionType
#
Instances3Eq, Read, Show
datadata Test
#

Constructors

  • Test TestInstance
  • Group
    • groupName :: String
    • concurrently :: Bool

      If true, then children of this group may be run in parallel. Note that this setting is not inherited by children. In particular, consider a group F with "concurrently = False" that has some children, including a group T with "concurrently = True". The children of group T may be run concurrently with each other, as long as none are run at the same time as any of the direct children of group F.

    • groupTests :: [Test]
  • ExtraOptions [OptionDescr] Test
valuetestGroup :: String -> [Test] -> Test
#

Create a named group of tests, which are assumed to be safe to run in parallel.