ScenarioRunResult class
A whole run — scenarios executed in the runner's flutter_tester, with
one artifact triple (PNG, widget tree, texts) per captured step.
- Implemented types
Constructors
-
ScenarioRunResult({int version = scenarioRunReportVersion, required List<
ScenarioRunPackage> packages, Map<String, String> ? axes, DateTime? clock, Map<String, String> notRun = const {}}) -
ScenarioRunResult.fromJson(Map<
String, Object?> json) -
Decodes a
run.json.factory
Properties
-
artifacts
→ List<
Artifact> -
The frame just before each failure, and nothing else.
no setteroverride
-
axes
→ Map<
String, String> ? -
The axis assignment the whole request ran under —
{device: iphone-se, language: fr}— or null for the test defaults. Recorded because a screenshot is under-specified without it; the same values ride every step's address as query parameters.final - clock → DateTime?
-
What
clock.now()read at the start of every scenario in the run.final -
failed
→ List<
Map< String, Object?> > -
Every scenario that came back red, and every package that could not
run at all, as one flat list — what a script reads instead of walking
every package's every scenario to find the one that failed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notRun
→ Map<
String, String> -
The declared folders this run left out, each with why.
final
- ok → bool
-
False when any package failed to run at all, or any scenario it ran came
back red — what makes
fw run scenarios runexit 1.no setteroverride -
packages
→ List<
ScenarioRunPackage> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
The wire form. Keys here are what every surface shows and what an agent
parses, so they are part of the action's contract.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited