Skip to content

Commit

Permalink
Use reporter extended consistently. (#145617)
Browse files Browse the repository at this point in the history
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: flutter/flutter#145616
  • Loading branch information
godofredoc authored Mar 28, 2024
1 parent ea1268a commit b36c16d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/bots/test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1753,6 +1753,7 @@ Future<void> runFlutterWebTest(
flutter,
<String>[
'test',
'--reporter=expanded',
'-v',
'--platform=chrome',
if (useWasm) '--wasm',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b36c16d

Please sign in to comment.