marcphilipp commented on PR #221:
URL: https://github.com/apache/ant/pull/221#issuecomment-2979280480

   > Hm, yeah, JUnit Platform indeed does not differentiate between failure and 
error anymore. I have no idea why, maybe @marcphilipp could shed some light on 
why this is not done anymore.
   > 
   > Gradle indeed does also not do this differentiation yet, but reports both 
cases as failure.
   
   Since both are signaled via exceptions, we decided to simplify things when 
we started work on JUnit 5 (or JUnit Lambda as it was called back in the day). 
If you want to differentiate "failures" from "errors", you can check whether 
the `Throwable` is an instance of `AssertionError`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to