models/ensemble_test_models library

Declarative test document and run results.

Classes

DumpTreeConfig
Controls writing the rendered widget tree to a diagnostic artifact.
EnsembleSingleTestResult
Result for one executed YAML test case. Result and diagnostics for one expanded test case run.
EnsembleTestCase
Parsed definition of a single YAML test case.
EnsembleTestConfig
Suite-wide configuration loaded from tests/config.yaml.
EnsembleTestEnvironment
Environment overrides applied to a YAML test run.
EnsembleTestReportDetails
Human-readable run metadata for console reports (see TestReporter).
EnsembleTestRunRequest
Request object describing an Ensemble YAML test run.
EnsembleTestRunResult
Aggregate result for a YAML test run. Aggregate result for one complete runner invocation.
LogApiCallsConfig
Controls writing observed API calls to a diagnostic artifact.
LogStorageConfig
Controls writing the final local storage snapshot to an artifact.
MockAPIResponse
Mock API response returned by the test HTTP provider. A deterministic API response used by the test provider.
PerformanceConfig
Controls suite-level application performance logging.
ScreenshotConfig
Controls automatic per-step screenshot capture and filtering.
TestDeviceTarget
One device (+ optional locale/theme) in a suite run matrix.
TestMocks
Mock configuration attached to a test case. API mocks attached to a test after profile and suite composition.
TestProfile
A named profile containing reusable mocks and initial state.
TestScenario
One scenario from a scenario-based test suite.
TestServiceConfig
A local process that the runner starts before executing tests.
TestStep
Single executable step from a YAML test file.
TimerRewriteConfig
Controls timer normalization used by the Flutter test host.
WifiTestConfig
Suite Wi-Fi test double settings from tests/config.yaml.

Enums

TestStatus
Status of a finished test case. Final status of an executed test case.

Exceptions / Errors

EnsembleTestFailure
Thrown when a test step or assertion fails. Exception used for user-facing YAML test and assertion failures.