From b36c16d272a2830f70d5023af041fb245cf6a230 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Thu, 28 Mar 2024 15:39:13 -0700 Subject: [PATCH] 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 --- dev/bots/test.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 84faee8de2..da2c179a6b 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -1753,6 +1753,7 @@ Future runFlutterWebTest( flutter, [ 'test', + '--reporter=expanded', '-v', '--platform=chrome', if (useWasm) '--wasm', @@ -1811,6 +1812,7 @@ Future _runDartTest(String workingDirectory, { final List args = [ 'run', 'test', + '--reporter=expanded', '--file-reporter=json:${metricFile.path}', if (shuffleTests) '--test-randomize-ordering-seed=$shuffleSeed', '-j$cpus', @@ -1893,6 +1895,7 @@ Future _runFlutterTest(String workingDirectory, { final List args = [ 'test', + '--reporter=expanded', if (shuffleTests && !_isRandomizationOff) '--test-randomize-ordering-seed=$shuffleSeed', if (fatalWarnings) '--fatal-warnings', ...options,