ScenarioStatus class

Feedback from one scenario's execution.

Inheritance

Constructors

ScenarioStatus(Formatter? fmt)

Properties

addendum Map<String, Object>
this is information that a hook or step might wish to add to keep track of in reporting. We expect to be able to encode it in reports.
getter/setter pair
background ↔ _Background?
An optional background that enriched this status information. Backgrounds have no background.
getter/setter pair
boilerplate String
A boilerplate (in Dart) of undefinedSteps.
no setterinherited
decodedName String?
no setter
duration Duration
how long the item took to execute
no setterinherited
example Map
getter/setter pair
exampleTable GherkinTable
getter/setter pair
failed bool
Has the scenario failed ? (any step failed)
no setter
failedSteps List<StepStatus>
getter/setter pair
failedStepsCount int
no setter
failures List<StepFailure?>
no setter
fmt Formatter?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
passed bool
Has the scenario passed ? (all steps passed)
no setter
passedSteps List<StepStatus>
getter/setter pair
passedStepsCount int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scenario ↔ _Scenario?
The scenario that generated this status information. If this ScenarioStatus is one of a Background, it is here.
getter/setter pair
skipped bool
Was the scenario skipped because of mismatching tags ?
getter/setter pair
steps List<StepStatus>
Steps.
no setter
sw Stopwatch
getter/setter pairinherited
undefinedSteps List<StepStatus>
Undefined steps.
getter/setter pairoverride-getter
undefinedStepsCount int
no setter

Methods

mergeBackground(ScenarioStatus other, {dynamic isFirst = true}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited