TestConfiguration constructor

TestConfiguration({
  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<StepDefinitionGeneric<World>>? stepDefinitions,
  10. Iterable<CustomParameter>? customStepParameterDefinitions,
  11. Iterable<Hook>? hooks,
  12. Iterable<Reporter> reporters = const [],
  13. CreateWorld? createWorld,
  14. int stepMaxRetries = 0,
  15. Duration retryDelay = const Duration(seconds: 2),
})

Implementation

TestConfiguration({
  this.features = const <Pattern>[],
  this.featureDefaultLanguage = 'en',
  this.order = ExecutionOrder.random,
  this.defaultTimeout = const Duration(seconds: 10),
  this.featureFileMatcher = const IoFeatureFileAccessor(),
  this.featureFileReader = const IoFeatureFileAccessor(),
  this.stopAfterTestFailed = false,
  this.tagExpression,
  this.stepDefinitions,
  this.customStepParameterDefinitions,
  this.hooks,
  this.reporters = const [],
  this.createWorld,
  this.stepMaxRetries = 0,
  this.retryDelay = const Duration(seconds: 2),
});