Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data TestHistory
- data HistoricTestResult = HistoricTestResult {
- htr_testId :: !Text
- htr_result :: !TestResult
- htr_timedOut :: !Bool
- htr_timeMs :: !Milliseconds
- emptyTestHistory :: TestHistory
- type Milliseconds = Int
- data TestResult
- serializeTestHistory :: TestHistory -> ByteString
- deserializeTestHistory :: ByteString -> Either String TestHistory
- findHistoricTestResult :: Text -> TestHistory -> Maybe HistoricTestResult
- findHistoricSuccessfulTestResult :: Text -> TestHistory -> Maybe HistoricTestResult
- updateTestHistory :: TestRunHistory -> TestHistory -> TestHistory
- mkTestRunHistory :: UTCTime -> [HistoricTestResult] -> TestRunHistory
- historyTests :: [([Char], IO ())]
Documentation
data TestHistory Source #
data HistoricTestResult Source #
HistoricTestResult | |
|
type Milliseconds = Int Source #
A type synonym for time in milliseconds.
data TestResult Source #
The summary result of a test.
updateTestHistory :: TestRunHistory -> TestHistory -> TestHistory Source #
mkTestRunHistory :: UTCTime -> [HistoricTestResult] -> TestRunHistory Source #
historyTests :: [([Char], IO ())] Source #