Commit 6e334c2
committed
fix: stop tagging "test exception" testcases as synthetic skip
"test exception" is not a synthetic placeholder emitted by any test
framework — JUnit 4, JUnit Platform, Gradle's adapters, Spock and Kotest
all reserve "initializationError"/"executionError" for that purpose, not
generic English names. In dd-trace-java the entries observed in CI came
from a real Spock feature method (`def "test exception"()` in
HttpServerTest.groovy), not a framework synthetic. Tagging that name
unconditionally silently masks real pass/fail outcomes for any
Spock/JUnit 5 @DisplayName/Kotest test that happens to use it.
Drop "test exception" from JUnitReport.tagSyntheticFailures and document
the criteria for future synthetic entries (must be framework-emitted,
must link to the source pinned to a release tag). Annotate the two
remaining entries — initializationError (JUnit 4 + Gradle) and
executionError (Gradle) — with the canonical source locations.1 parent 5181a21 commit 6e334c2
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
69 | 79 | | |
70 | 80 | | |
71 | 81 | | |
72 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
73 | 89 | | |
74 | 90 | | |
75 | 91 | | |
76 | 92 | | |
77 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
78 | 97 | | |
79 | 98 | | |
80 | 99 | | |
| |||
0 commit comments