Copyright | Thomas Tuegel 2010 |
---|---|
License | BSD3 |
Maintainer | cabal-devel@haskell.org |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module defines the detailed test suite interface which makes it possible to expose individual tests to Cabal or other test agents.
Synopsis
- data TestInstance = TestInstance {}
- data OptionDescr = OptionDescr {}
- data OptionType
- = OptionFile { }
- | OptionString { }
- | OptionNumber { }
- | OptionBool
- | OptionEnum [String]
- | OptionSet [String]
- | OptionRngSeed
- data Test
- = Test TestInstance
- | Group {
- groupName :: String
- concurrently :: Bool
- groupTests :: [Test]
- | ExtraOptions [OptionDescr] Test
- type Options = [(String, String)]
- data Progress
- data Result
- testGroup :: String -> [Test] -> Test
Documentation
data TestInstance Source #
TestInstance | |
|
data OptionDescr Source #
OptionDescr | |
|
Instances
Read OptionDescr Source # | |
Defined in Distribution.TestSuite | |
Show OptionDescr Source # | |
Defined in Distribution.TestSuite | |
Eq OptionDescr Source # | |
Defined in Distribution.TestSuite (==) :: OptionDescr -> OptionDescr -> Bool # (/=) :: OptionDescr -> OptionDescr -> Bool # |
data OptionType Source #
OptionFile | |
OptionString | |
OptionNumber | |
OptionBool | |
OptionEnum [String] | |
OptionSet [String] | |
OptionRngSeed |
Instances
Read OptionType Source # | |
Defined in Distribution.TestSuite | |
Show OptionType Source # | |
Defined in Distribution.TestSuite | |
Eq OptionType Source # | |
Defined in Distribution.TestSuite (==) :: OptionType -> OptionType -> Bool # (/=) :: OptionType -> OptionType -> Bool # |
Test TestInstance | |
Group | |
| |
ExtraOptions [OptionDescr] Test |