Configuration.globalTest constructor

Configuration.globalTest({
  1. required bool? verboseTrace,
  2. required bool? jsTrace,
  3. required Timeout? timeout,
  4. required Map<String, Configuration>? presets,
  5. required bool? chainStackTraces,
  6. required Iterable<String>? foldTraceExcept,
  7. required Iterable<String>? foldTraceOnly,
})

Suite level configuration allowed in the global test config file.

This is per-user configuration and should be limited as such, it should not contain options that would change the pass/fail result of any given test, or change which tests would run.

Implementation

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