TestStepParser class final
Parses and validates the nested steps in one test document.
Keeping recursive step parsing together makes group/optional behavior explicit and leaves the top-level document parser focused on test metadata.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
parseSetupSteps(
dynamic steps, {required String testId, required Map< String, dynamic> inputs, required Map<String, dynamic> scenario, String? scenarioId}) → List<TestStep> -
parseSteps(
YamlList steps, {required String testId, required Map< String, dynamic> inputs, required Map<String, dynamic> scenario, String? scenarioId}) → List<TestStep>