ScenarioData class
A data container that aggregates the execution blueprint and results for a single test scenario.
Tracks the scenario's descriptive title along with three parallel arrays that capture the configured step inputs, their metadata/DSL classifications, and their ultimate runtime execution results.
Constructors
- ScenarioData(String description)
-
Creates a container for tracking a scenario's lifecycle, keyed by
its
description.
Properties
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
results
→ List<
StepResult> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stepKinds
→ List<
ExecutableStepData> -
final
-
steps
→ List<
StepInput> -
final
Methods
-
addStep(
StepInput step, ExecutableStepData stepKind) → void - Appends a configured test step and its corresponding metadata classification to the scenario pipeline.
-
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