Configuration.localRunner constructor

Configuration.localRunner({
  1. required Iterable<Pattern>? globalPatterns,
  2. required Map<String, Set<TestSelection>>? testSelections,
  3. required Glob? filename,
  4. required BooleanSelector? includeTags,
  5. required BooleanSelector? excludeTags,
  6. required Map<String, CustomRuntime>? defineRuntimes,
})

Runner 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.localRunner(
        {required Iterable<Pattern>? globalPatterns,
        required Map<String, Set<TestSelection>>? testSelections,
        required Glob? filename,
        required BooleanSelector? includeTags,
        required BooleanSelector? excludeTags,
        required Map<String, CustomRuntime>? defineRuntimes}) =>
    Configuration(
        globalPatterns: globalPatterns,
        testSelections: testSelections,
        filename: filename,
        includeTags: includeTags,
        excludeTags: excludeTags,
        defineRuntimes: defineRuntimes,
        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,
        foldTraceExcept: null,
        foldTraceOnly: null,
        chosenPresets: null,
        presets: null,
        overrideRuntimes: null,
        noRetry: null,
        testRandomizeOrderingSeed: null,
        stopOnFirstFailure: null,
        allowDuplicateTestNames: null,
        allowTestRandomization: null,
        jsTrace: null,
        runSkipped: null,
        dart2jsArgs: null,
        precompiledPath: null,
        compilerSelections: null,
        runtimes: null,
        tags: null,
        onPlatform: null,
        ignoreTimeouts: null,
        timeout: null,
        verboseTrace: null,
        chainStackTraces: null,
        skip: null,
        retry: null,
        skipReason: null,
        testOn: null,
        addTags: null);