| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Convex.Tasty.Streaming.Types
Synopsis
- data Event
- = SuiteStarted { }
- | TestStarted { }
- | TestProgress { }
- | TestDone {
- edId :: !Int
- edOutcome :: !TestOutcome
- edDuration :: !Double
- edDescription :: !Text
- edThreatModel :: !(Maybe ThreatModelSummary)
- | TestTrace { }
- | SuiteDone { }
- data TestInfo = TestInfo {}
- data TestOutcome
- data FailureInfo = FailureInfo {}
Documentation
A streaming event emitted as a single NDJSON line
Constructors
| SuiteStarted | |
| TestStarted | |
| TestProgress | |
| TestDone | |
Fields
| |
| TestTrace | |
| SuiteDone | |
Instances
Information about a single test in the tree
Instances
| 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])))) | |
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 | |