FlutterTestConfiguration constructor

FlutterTestConfiguration({
  1. Iterable<Pattern> features = const <Pattern>[],
  2. String featureDefaultLanguage = 'en',
  3. ExecutionOrder order = ExecutionOrder.random,
  4. Duration defaultTimeout = const Duration(seconds: 10),
  5. FeatureFileMatcher featureFileMatcher = const IoFeatureFileAccessor(),
  6. FeatureFileReader featureFileReader = const IoFeatureFileAccessor(),
  7. bool stopAfterTestFailed = false,
  8. String? tagExpression,
  9. Iterable<Hook>? hooks,
  10. Iterable<Reporter> reporters = const [],
  11. CreateWorld? createWorld,
  12. bool semanticsEnabled = true,
  13. bool waitImplicitlyAfterAction = false,
  14. Iterable<CustomParameter>? customStepParameterDefinitions,
  15. Iterable<StepDefinitionGeneric<World>>? stepDefinitions,
})

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),
      );