loadTestConfig static method
Implementation
static Future<EnsembleTestConfig> loadTestConfig(
String testsAssetPrefix,
) async {
final path = await findConfigYamlAsset(testsAssetPrefix);
if (path == null) return const EnsembleTestConfig();
final content = await rootBundle.loadString(path);
final config = EnsembleTestParser.parseConfigString(
content,
sourcePath: path,
);
final overridden = _withServiceOverrides(config);
final withIsolation = overridden ?? _withWorkerIsolation(config);
return applyDeviceFilter(
withIsolation,
_deviceIdsFromEnvironment(),
);
}