EnsembleTestDiscovery class
Discovers declarative tests and app settings from the host Flutter app bundle.
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
-
applyDeviceFilter(
EnsembleTestConfig config, Set< String> selectedIds) → EnsembleTestConfig -
Keeps only suite
deviceswhose ids are inselectedIds. -
findConfigAsset(
String testsAssetPrefix) → Future< String?> - Optional suite-level configuration bundled with the test assets.
-
findTestAssets(
String testsAssetPrefix) → Future< List< String> > -
All test definition assets bundled under
testsAssetPrefix. -
loadAppTarget(
) → Future< EnsembleTestAppTarget> -
Reads
definitions.localfromensemble/ensemble-config.yaml. -
loadTestConfig(
String testsAssetPrefix) → Future< EnsembleTestConfig> -
resolveIntegrationDeviceMatrix(
EnsembleTestConfig config, {required String platform, Set< String> selectedIds = const {}}) → IntegrationDeviceMatrix -
Widget
devicesentries that still apply on a real integration target.