mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
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:
parent
ea1268a78d
commit
b36c16d272
@ -1753,6 +1753,7 @@ Future<void> runFlutterWebTest(
|
|||||||
flutter,
|
flutter,
|
||||||
<String>[
|
<String>[
|
||||||
'test',
|
'test',
|
||||||
|
'--reporter=expanded',
|
||||||
'-v',
|
'-v',
|
||||||
'--platform=chrome',
|
'--platform=chrome',
|
||||||
if (useWasm) '--wasm',
|
if (useWasm) '--wasm',
|
||||||
@ -1811,6 +1812,7 @@ Future<void> _runDartTest(String workingDirectory, {
|
|||||||
final List<String> args = <String>[
|
final List<String> args = <String>[
|
||||||
'run',
|
'run',
|
||||||
'test',
|
'test',
|
||||||
|
'--reporter=expanded',
|
||||||
'--file-reporter=json:${metricFile.path}',
|
'--file-reporter=json:${metricFile.path}',
|
||||||
if (shuffleTests) '--test-randomize-ordering-seed=$shuffleSeed',
|
if (shuffleTests) '--test-randomize-ordering-seed=$shuffleSeed',
|
||||||
'-j$cpus',
|
'-j$cpus',
|
||||||
@ -1893,6 +1895,7 @@ Future<void> _runFlutterTest(String workingDirectory, {
|
|||||||
|
|
||||||
final List<String> args = <String>[
|
final List<String> args = <String>[
|
||||||
'test',
|
'test',
|
||||||
|
'--reporter=expanded',
|
||||||
if (shuffleTests && !_isRandomizationOff) '--test-randomize-ordering-seed=$shuffleSeed',
|
if (shuffleTests && !_isRandomizationOff) '--test-randomize-ordering-seed=$shuffleSeed',
|
||||||
if (fatalWarnings) '--fatal-warnings',
|
if (fatalWarnings) '--fatal-warnings',
|
||||||
...options,
|
...options,
|
||||||
|
Loading…
Reference in New Issue
Block a user