Files
sbt/testing
Dmitrii NaumenkoandCodex bfd744b2c7 [2.0.x] fix: Notify listeners before LinkageError escapes suites (#9667)
TestRunner now calls endGroup(name, error) before rethrowing an otherwise escaping LinkageError. This completes the TestReportListener lifecycle while preserving the original error propagation and non-zero task result.

Previously, the outer suite catch handled only NonFatal errors. A suite failing with ExceptionInInitializerError could therefore start a listener group and terminate without a terminal callback, forcing integrations to infer failure from rendered output. The direct TestRunner regression checks the error callback, absence of a normal result callback, and rethrow of the same error.

Co-authored-by: Codex <[email protected]>
2026-08-24 13:04:28 -04:00
..
2023-06-20 16:39:07 +02:00