* allow passing --file-reporter option to test running refs #69425 * Add trailing comma to help to meet style requirements * Add space between tests for clarity --------- Co-authored-by: daniel-v <dvarga@skawa.hu>
This commit is contained in:
committed by
GitHub
parent
23df770860
commit
ebbc94bc2b
@@ -45,6 +45,7 @@ abstract class FlutterTestRunner {
|
||||
bool web = false,
|
||||
String? randomSeed,
|
||||
String? reporter,
|
||||
String? fileReporter,
|
||||
String? timeout,
|
||||
bool runSkipped = false,
|
||||
int? shardIndex,
|
||||
@@ -82,6 +83,7 @@ class _FlutterTestRunnerImpl implements FlutterTestRunner {
|
||||
bool web = false,
|
||||
String? randomSeed,
|
||||
String? reporter,
|
||||
String? fileReporter,
|
||||
String? timeout,
|
||||
bool runSkipped = false,
|
||||
int? shardIndex,
|
||||
@@ -103,6 +105,8 @@ class _FlutterTestRunnerImpl implements FlutterTestRunner {
|
||||
...<String>['-r', 'json']
|
||||
else if (reporter != null)
|
||||
...<String>['-r', reporter],
|
||||
if (fileReporter != null)
|
||||
'--file-reporter=$fileReporter',
|
||||
if (timeout != null)
|
||||
...<String>['--timeout', timeout],
|
||||
'--concurrency=$concurrency',
|
||||
|
||||
Reference in New Issue
Block a user