Commit 8720ac6
committed
test_runner: print failed coverage reports with dot runner
Fixes: #60884
Refs: #52655
When running tests with both the dot reporter and coverage reports,
if a coverage report fails (e.g., line coverage threshold not met),
there was no visible output indicating the failure. The process would
exit with a failure code, but only dots would be printed with no
explanation.
This commit adds collection and display of coverage threshold failure
diagnostics in the dot reporter. When coverage threshold checks fail,
error diagnostic messages are now displayed at the end of the test
output, similar to how failed tests are displayed.
The coverage error messages are collected from test:diagnostic events
with level='error' that are emitted by the test runner when coverage
thresholds are not met.1 parent 66a687f commit 8720ac6
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
36 | 47 | | |
37 | 48 | | |
38 | 49 | | |
| |||
0 commit comments