mirror of
https://github.com/sbt/sbt.git
synced 2026-08-31 02:05:09 +02:00
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: Dmitrii Naumenko <[email protected]> Co-authored-by: Codex <[email protected]>