Use reporter extended consistently. (#145617)
Shard tests present output inconsistently using the compact or extended reporter depending on the defaults of flutter test and dart test. To make the output consistent and simplify debugging of failures this PR is enabling the extended reporter for all the tests based on unit/integration test packages. Bug: https://github.com/flutter/flutter/issues/145616
This commit is contained in:
@@ -1753,6 +1753,7 @@ Future<void> runFlutterWebTest(
|
||||
flutter,
|
||||
<String>[
|
||||
'test',
|
||||
'--reporter=expanded',
|
||||
'-v',
|
||||
'--platform=chrome',
|
||||
if (useWasm) '--wasm',
|
||||
@@ -1811,6 +1812,7 @@ Future<void> _runDartTest(String workingDirectory, {
|
||||
final List<String> args = <String>[
|
||||
'run',
|
||||
'test',
|
||||
'--reporter=expanded',
|
||||
'--file-reporter=json:${metricFile.path}',
|
||||
if (shuffleTests) '--test-randomize-ordering-seed=$shuffleSeed',
|
||||
'-j$cpus',
|
||||
@@ -1893,6 +1895,7 @@ Future<void> _runFlutterTest(String workingDirectory, {
|
||||
|
||||
final List<String> args = <String>[
|
||||
'test',
|
||||
'--reporter=expanded',
|
||||
if (shuffleTests && !_isRandomizationOff) '--test-randomize-ordering-seed=$shuffleSeed',
|
||||
if (fatalWarnings) '--fatal-warnings',
|
||||
...options,
|
||||
|
||||
Reference in New Issue
Block a user