| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Convex.Tasty.Streaming.Types
Synopsis
- data Event
- = SuiteStarted {
- esPackageRoot :: !(Maybe Text)
- esTests :: ![TestInfo]
- edCoverageIndex :: ![SrcLocRange]
- | TestStarted { }
- | TestProgress { }
- | TestDone {
- edId :: !Int
- edOutcome :: !TestOutcome
- edDuration :: !Double
- edDescription :: !Text
- edThreatModel :: !(Maybe ThreatModelSummary)
- edMonitoringStats :: !(Maybe MonitoringStats)
- | TestTrace {
- ettTestId :: !Int
- ettCategory :: !Text
- ettCovered :: ![SrcLocRange]
- ettTrace :: !Value
- | SuiteDone { }
- = SuiteStarted {
- data TestInfo = TestInfo {}
- data TestOutcome
- data FailureInfo = FailureInfo {}
- data MonitoringStats = MonitoringStats {
- msNumTests :: !Int
- msNumDiscarded :: !Int
- msLabels :: ![MonitoringLabelStat]
- msClasses :: ![MonitoringClassStat]
- msTables :: ![MonitoringTableStat]
- data MonitoringLabelStat = MonitoringLabelStat {}
- data MonitoringClassStat = MonitoringClassStat {}
- data MonitoringTableStat = MonitoringTableStat {
- mtsName :: !Text
- mtsEntries :: ![MonitoringTableEntry]
- data MonitoringTableEntry = MonitoringTableEntry {}
Documentation
A streaming event emitted as a single NDJSON line
Constructors
| SuiteStarted | |
Fields
| |
| TestStarted | |
| TestProgress | |
| TestDone | |
Fields
| |
| TestTrace | |
Fields
| |
| SuiteDone | |
Instances
Information about a single test in the tree
Constructors
| TestInfo | |
Instances
| FromJSON TestInfo Source # | |
| ToJSON TestInfo Source # | |
| Generic TestInfo Source # | |
| Show TestInfo Source # | |
| Eq TestInfo Source # | |
| type Rep TestInfo Source # | |
Defined in Convex.Tasty.Streaming.Types type Rep TestInfo = D1 ('MetaData "TestInfo" "Convex.Tasty.Streaming.Types" "convex-tasty-streaming-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TestInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tiId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "tiName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "tiPath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "tiSrcLoc") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe SrcLocRange))))) | |
data TestOutcome Source #
Outcome of a completed test
Constructors
| TestSuccess | |
| TestFailure !FailureInfo |
Instances
| Generic TestOutcome Source # | |
Defined in Convex.Tasty.Streaming.Types Associated Types type Rep TestOutcome :: Type -> Type # | |
| Show TestOutcome Source # | |
Defined in Convex.Tasty.Streaming.Types Methods showsPrec :: Int -> TestOutcome -> ShowS # show :: TestOutcome -> String # showList :: [TestOutcome] -> ShowS # | |
| Eq TestOutcome Source # | |
Defined in Convex.Tasty.Streaming.Types | |
| type Rep TestOutcome Source # | |
Defined in Convex.Tasty.Streaming.Types type Rep TestOutcome = D1 ('MetaData "TestOutcome" "Convex.Tasty.Streaming.Types" "convex-tasty-streaming-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TestSuccess" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TestFailure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FailureInfo))) | |
data FailureInfo Source #
Details about a test failure
Constructors
| FailureInfo | |
Instances
data MonitoringStats Source #
Constructors
| MonitoringStats | |
Fields
| |
Instances
data MonitoringLabelStat Source #
Constructors
| MonitoringLabelStat | |
Instances
data MonitoringClassStat Source #
Constructors
| MonitoringClassStat | |
Instances
data MonitoringTableStat Source #
Constructors
| MonitoringTableStat | |
Fields
| |
Instances
data MonitoringTableEntry Source #
Constructors
| MonitoringTableEntry | |