selectTests method
Assign the selection of tests that should run for this suite.
Test selections must be chosen only once per suite, once a SuiteConfiguration has test slections this method should not be called again.
testSelections
must not be empty.
Implementation
SuiteConfiguration selectTests(Set<TestSelection> testSelections) {
assert(this.testSelections.isEmpty);
assert(testSelections.isNotEmpty);
return SuiteConfiguration._(
testSelections: testSelections,
allowDuplicateTestNames: _allowDuplicateTestNames,
allowTestRandomization: _allowTestRandomization,
jsTrace: _jsTrace,
runSkipped: _runSkipped,
dart2jsArgs: dart2jsArgs,
precompiledPath: precompiledPath,
compilerSelections: compilerSelections,
runtimes: _runtimes,
tags: tags,
onPlatform: onPlatform,
ignoreTimeouts: _ignoreTimeouts,
metadata: _metadata);
}