ScenarioStatus class Null safety

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.
read / write
background ↔ _Background?
An optional background that enriched this status information. Backgrounds have no background.
read / write
boilerplate String
A boilerplate (in Dart) of undefinedSteps.
read-only, inherited
decodedName String?
read-only
duration Duration
how long the item took to execute
read-only, inherited
example Map
read / write
exampleTable GherkinTable
read / write
failed bool
Has the scenario failed ? (any step failed)
read-only
failedSteps List<StepStatus>
read / write
failedStepsCount int
read-only
failures List<StepFailure?>
read-only
fmt Formatter?
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
passed bool
Has the scenario passed ? (all steps passed)
read-only
passedSteps List<StepStatus>
read / write
passedStepsCount int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scenario ↔ _Scenario?
The scenario that generated this status information. If this ScenarioStatus is one of a Background, it is here.
read / write
skipped bool
Was the scenario skipped because of mismatching tags ?
read / write
steps List<StepStatus>
Steps.
read-only
sw Stopwatch
read / write, inherited
undefinedSteps List<StepStatus>
Undefined steps.
read / write, override-getter
undefinedStepsCount int
read-only

Methods

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

Operators

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