Copyright | (c) John Maraist 2022 |
---|---|
License | GPL3 |
Maintainer | haskell-tlt@maraist.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Results representation for the TLT
testing system. See TLT
for more information.
Synopsis
- data TestFail
- formatFail :: TestFail -> String
- data TestResult
- failCount :: TestResult -> Int
- testCount :: TestResult -> Int
- totalFailCount :: [TestResult] -> Int
- totalTestCount :: [TestResult] -> Int
Results of tests
Reasons why a test might fail.
data TestResult Source #
Hierarchical structure holding the result of running tests, possibly grouped into tests.
failCount :: TestResult -> Int Source #
Return the number of failed tests reported in a TestResult
.
testCount :: TestResult -> Int Source #
Return the number of tests described by a TestResult
.
totalFailCount :: [TestResult] -> Int Source #
Return the number of failed tests described in a list of
TestResult
s.
totalTestCount :: [TestResult] -> Int Source #
Return the number of tests described in a list of TestResult
s.