SuiteConfiguration constructor
SuiteConfiguration({
- required bool? allowDuplicateTestNames,
- required bool? allowTestRandomization,
- required bool? jsTrace,
- required bool? runSkipped,
- required Iterable<
String> ? dart2jsArgs, - required String? precompiledPath,
- required Iterable<
CompilerSelection> ? compilerSelections, - required Iterable<
RuntimeSelection> ? runtimes, - required Map<
BooleanSelector, SuiteConfiguration> ? tags, - required Map<
PlatformSelector, SuiteConfiguration> ? onPlatform, - required bool? ignoreTimeouts,
- required Timeout? timeout,
- required bool? verboseTrace,
- required bool? chainStackTraces,
- required bool? skip,
- required int? retry,
- required String? skipReason,
- required PlatformSelector? testOn,
- required Iterable<
String> ? addTags,
Implementation
factory SuiteConfiguration(
{required bool? allowDuplicateTestNames,
required bool? allowTestRandomization,
required bool? jsTrace,
required bool? runSkipped,
required Iterable<String>? dart2jsArgs,
required String? precompiledPath,
required Iterable<CompilerSelection>? compilerSelections,
required Iterable<RuntimeSelection>? runtimes,
required Map<BooleanSelector, SuiteConfiguration>? tags,
required Map<PlatformSelector, SuiteConfiguration>? onPlatform,
required bool? ignoreTimeouts,
// Test-level configuration
required Timeout? timeout,
required bool? verboseTrace,
required bool? chainStackTraces,
required bool? skip,
required int? retry,
required String? skipReason,
required PlatformSelector? testOn,
required Iterable<String>? addTags}) {
var config = SuiteConfiguration._(
allowDuplicateTestNames: allowDuplicateTestNames,
allowTestRandomization: allowTestRandomization,
jsTrace: jsTrace,
runSkipped: runSkipped,
dart2jsArgs: dart2jsArgs,
testSelections: const {},
precompiledPath: precompiledPath,
compilerSelections: compilerSelections,
runtimes: runtimes,
tags: tags,
onPlatform: onPlatform,
ignoreTimeouts: ignoreTimeouts,
metadata: Metadata(
timeout: timeout,
verboseTrace: verboseTrace,
chainStackTraces: chainStackTraces,
skip: skip,
retry: retry,
skipReason: skipReason,
testOn: testOn,
tags: addTags));
return config._resolveTags();
}