Copyright | Thomas Tuegel 2010 |
---|---|
License | BSD3 |
Maintainer | cabal-devel@haskell.org |
Portability | portable |
Safe Haskell | None |
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 #
TestInstance | |
|
data OptionDescr #
OptionDescr | |
|
Instances
Eq OptionDescr # | |
(==) :: OptionDescr -> OptionDescr -> Bool # (/=) :: OptionDescr -> OptionDescr -> Bool # | |
Read OptionDescr # | |
readsPrec :: Int -> ReadS OptionDescr # readList :: ReadS [OptionDescr] # readPrec :: ReadPrec OptionDescr # readListPrec :: ReadPrec [OptionDescr] # | |
Show OptionDescr # | |
showsPrec :: Int -> OptionDescr -> ShowS # show :: OptionDescr -> String # showList :: [OptionDescr] -> ShowS # |
data OptionType #
OptionFile | |
OptionString | |
OptionNumber | |
OptionBool | |
OptionEnum [String] | |
OptionSet [String] | |
OptionRngSeed |
Instances
Eq OptionType # | |
(==) :: OptionType -> OptionType -> Bool # (/=) :: OptionType -> OptionType -> Bool # | |
Read OptionType # | |
readsPrec :: Int -> ReadS OptionType # readList :: ReadS [OptionType] # readPrec :: ReadPrec OptionType # readListPrec :: ReadPrec [OptionType] # | |
Show OptionType # | |
showsPrec :: Int -> OptionType -> ShowS # show :: OptionType -> String # showList :: [OptionType] -> ShowS # |
Test TestInstance | |
Group | |
| |
ExtraOptions [OptionDescr] Test |