@@ -104,6 +104,10 @@ class Configuration {
104104 bool get color => _color ?? canUseSpecialChars;
105105 final bool ? _color;
106106
107+ /// Whether to print a summary of failed tests at the end.
108+ bool get printSummary => _printSummary ?? false ;
109+ final bool ? _printSummary;
110+
107111 /// How many tests to run concurrently.
108112 int get concurrency =>
109113 pauseAfterLoad ? 1 : (_concurrency ?? defaultConcurrency);
@@ -274,6 +278,7 @@ class Configuration {
274278 required bool ? pauseAfterLoad,
275279 required bool ? debug,
276280 required bool ? color,
281+ required bool ? printSummary,
277282 required String ? configurationPath,
278283 required String ? reporter,
279284 required Map <String , String >? fileReporters,
@@ -330,6 +335,7 @@ class Configuration {
330335 pauseAfterLoad: pauseAfterLoad,
331336 debug: debug,
332337 color: color,
338+ printSummary: printSummary,
333339 configurationPath: configurationPath,
334340 reporter: reporter,
335341 fileReporters: fileReporters,
@@ -392,6 +398,7 @@ class Configuration {
392398 bool ? pauseAfterLoad,
393399 bool ? debug,
394400 bool ? color,
401+ bool ? printSummary,
395402 String ? configurationPath,
396403 String ? reporter,
397404 Map <String , String >? fileReporters,
@@ -446,6 +453,7 @@ class Configuration {
446453 pauseAfterLoad: pauseAfterLoad,
447454 debug: debug,
448455 color: color,
456+ printSummary: printSummary,
449457 configurationPath: configurationPath,
450458 reporter: reporter,
451459 fileReporters: fileReporters,
@@ -517,6 +525,7 @@ class Configuration {
517525 pauseAfterLoad: null ,
518526 debug: null ,
519527 color: null ,
528+ printSummary: null ,
520529 configurationPath: null ,
521530 reporter: null ,
522531 fileReporters: null ,
@@ -584,6 +593,7 @@ class Configuration {
584593 pauseAfterLoad: null ,
585594 debug: null ,
586595 color: null ,
596+ printSummary: null ,
587597 configurationPath: null ,
588598 reporter: null ,
589599 fileReporters: null ,
@@ -656,6 +666,7 @@ class Configuration {
656666 version: null ,
657667 debug: null ,
658668 color: null ,
669+ printSummary: null ,
659670 configurationPath: null ,
660671 coverage: null ,
661672 coverageLcov: null ,
@@ -718,6 +729,7 @@ class Configuration {
718729 pauseAfterLoad: null ,
719730 debug: null ,
720731 color: null ,
732+ printSummary: null ,
721733 configurationPath: null ,
722734 reporter: null ,
723735 fileReporters: null ,
@@ -788,6 +800,7 @@ class Configuration {
788800 required bool ? pauseAfterLoad,
789801 required bool ? debug,
790802 required bool ? color,
803+ required bool ? printSummary,
791804 required String ? configurationPath,
792805 required String ? reporter,
793806 required Map <String , String >? fileReporters,
@@ -818,6 +831,7 @@ class Configuration {
818831 _pauseAfterLoad = pauseAfterLoad,
819832 _debug = debug,
820833 _color = color,
834+ _printSummary = printSummary,
821835 _configurationPath = configurationPath,
822836 _reporter = reporter,
823837 fileReporters = fileReporters ?? {},
@@ -883,6 +897,7 @@ class Configuration {
883897 pauseAfterLoad: null ,
884898 debug: null ,
885899 color: null ,
900+ printSummary: null ,
886901 configurationPath: null ,
887902 reporter: null ,
888903 fileReporters: null ,
@@ -986,6 +1001,7 @@ class Configuration {
9861001 pauseAfterLoad: other._pauseAfterLoad ?? _pauseAfterLoad,
9871002 debug: other._debug ?? _debug,
9881003 color: other._color ?? _color,
1004+ printSummary: other._printSummary ?? _printSummary,
9891005 configurationPath: other._configurationPath ?? _configurationPath,
9901006 reporter: other._reporter ?? _reporter,
9911007 fileReporters: mergeMaps (fileReporters, other.fileReporters),
@@ -1044,6 +1060,7 @@ class Configuration {
10441060 bool ? pauseAfterLoad,
10451061 bool ? debug,
10461062 bool ? color,
1063+ bool ? printSummary,
10471064 String ? configurationPath,
10481065 String ? reporter,
10491066 Map <String , String >? fileReporters,
@@ -1095,6 +1112,7 @@ class Configuration {
10951112 pauseAfterLoad: pauseAfterLoad ?? _pauseAfterLoad,
10961113 debug: debug ?? _debug,
10971114 color: color ?? _color,
1115+ printSummary: printSummary ?? _printSummary,
10981116 configurationPath: configurationPath ?? _configurationPath,
10991117 reporter: reporter ?? _reporter,
11001118 fileReporters: fileReporters ?? this .fileReporters,
0 commit comments