FlutterTestConfiguration constructor
FlutterTestConfiguration({
- Iterable<
Pattern> features = const <Pattern>[], - String featureDefaultLanguage = 'en',
- ExecutionOrder order = ExecutionOrder.random,
- Duration defaultTimeout = const Duration(seconds: 10),
- FeatureFileMatcher featureFileMatcher = const IoFeatureFileAccessor(),
- FeatureFileReader featureFileReader = const IoFeatureFileAccessor(),
- bool stopAfterTestFailed = false,
- String? tagExpression,
- Iterable<
Hook> ? hooks, - Iterable<
Reporter> reporters = const [], - CreateWorld? createWorld,
- bool semanticsEnabled = true,
- bool waitImplicitlyAfterAction = false,
- Iterable<
CustomParameter> ? customStepParameterDefinitions, - Iterable<
StepDefinitionGeneric< ? stepDefinitions,World> >
Implementation
FlutterTestConfiguration({
super.features = const <Pattern>[],
super.featureDefaultLanguage = 'en',
super.order = ExecutionOrder.random,
super.defaultTimeout = const Duration(seconds: 10),
super.featureFileMatcher = const IoFeatureFileAccessor(),
super.featureFileReader = const IoFeatureFileAccessor(),
super.stopAfterTestFailed = false,
super.tagExpression,
super.hooks,
super.reporters = const [],
super.createWorld,
this.semanticsEnabled = true,
this.waitImplicitlyAfterAction = false,
Iterable<CustomParameter<dynamic>>? customStepParameterDefinitions,
Iterable<StepDefinitionGeneric<World>>? stepDefinitions,
}) : super(
customStepParameterDefinitions: List.from(
customStepParameterDefinitions ?? const Iterable.empty(),
)..addAll(_wellKnownParameters),
stepDefinitions: List.from(
stepDefinitions ?? const Iterable.empty(),
)..addAll(_wellKnownStepDefinitions),
);