Configuration.localTest constructor

Configuration.localTest({
  1. required bool? skip,
  2. required int? retry,
  3. required String? skipReason,
  4. required PlatformSelector? testOn,
  5. required Iterable<String>? addTags,
  6. required bool? allowDuplicateTestNames,
  7. required bool? allowTestRandomization,
})

Suite level configuration that is not allowed in the global test config file.

This configuration may alter the pass/fail result of a test run, and thus should only be configured per package and not at the global level (global config is user specific).

Implementation

factory Configuration.localTest({
  required bool? skip,
  required int? retry,
  required String? skipReason,
  required PlatformSelector? testOn,
  required Iterable<String>? addTags,
  required bool? allowDuplicateTestNames,
  required bool? allowTestRandomization,
}) => Configuration(
  allowDuplicateTestNames: allowDuplicateTestNames,
  allowTestRandomization: allowTestRandomization,
  skip: skip,
  retry: retry,
  skipReason: skipReason,
  testOn: testOn,
  addTags: addTags,
  help: null,
  customHtmlTemplatePath: null,
  version: null,
  pauseAfterLoad: null,
  debug: null,
  color: null,
  configurationPath: null,
  reporter: null,
  fileReporters: null,
  coverage: null,
  coverageLcov: null,
  branchCoverage: null,
  concurrency: null,
  shardIndex: null,
  totalShards: null,
  testSelections: null,
  foldTraceExcept: null,
  foldTraceOnly: null,
  filename: null,
  chosenPresets: null,
  presets: null,
  overrideRuntimes: null,
  defineRuntimes: null,
  noRetry: null,
  testRandomizeOrderingSeed: null,
  stopOnFirstFailure: null,
  jsTrace: null,
  runSkipped: null,
  dart2jsArgs: null,
  precompiledPath: null,
  globalPatterns: null,
  compilerSelections: null,
  runtimes: null,
  includeTags: null,
  excludeTags: null,
  tags: null,
  onPlatform: null,
  ignoreTimeouts: null,
  timeout: null,
  verboseTrace: null,
  chainStackTraces: null,
);