models/test_step library

Runtime representation of one executable test step.

Classes

MockAPIResponse
Mock API response returned by the test HTTP provider. A deterministic API response used by the test provider.
TestMocks
Mock configuration attached to a test case. API mocks attached to a test after profile and suite composition.
TestStep
Single executable step from a declarative test file.

Functions

flattenTestSteps(Iterable<TestStep> steps) → List<TestStep>
Flattens authored steps in the same pre-order used by report outlines and compiled plan step boundaries. Control rows are included so nested step indexes remain stable even when a branch is skipped.