entry/application_test_entry library

Functions

ensureHostFixturesSupported(EnsembleTestContext context, {ApplicationTestServices? services, bool requireResolved = false}) → void
Rejects YAML mocks/fixtures that cannot attach to the application under test.
hostProcessServiceConfigs(List<TestServiceConfig> configured, {bool hostOwnsServices = const bool.fromEnvironment('ensembleTestHostOwnsServices')}) → List<TestServiceConfig>
Services started inside the test process.
registerApplicationTests({required ApplicationTestDriver driver, required ExecutionMode mode, String? testsAssetPrefix}) → Future<void>
Registers a host suite after the caller selected the Flutter test binding.
runApplicationTestPlan({required ApplicationTestDriver driver, required EnsembleTestExecutionPlan plan, required WidgetTester tester, required ExecutionMode mode, Map<String, String> serializedPlans = const {}, SuiteCaseStart? onTestStart, SuiteCaseProgress? onTestComplete}) → Future<EnsembleTestRunResult>
Executes an already-resolved plan through an application driver.
runApplicationTests({required ApplicationTestDriver driver, String? testsAssetPrefix}) → Future<void>
Registers and executes declarative tests against an application-provided driver.