Re: [PR] differenciate between errors and failures for junit launcher [ant]

jaikiran (via GitHub) <[email protected]>
Newsgroups gmane.comp.jakarta.ant.devel
Message-ID <PR_kwDOATT2FM6ZlEkp-2fd36e40-e140-449e-9a73-86c608d9e20e@gitbox.apache.org>
jaikiran commented on PR #221:
URL: https://github.com/apache/ant/pull/221#issuecomment-2954147897

   Hello Stefan, as far as I remember, JUnit5 doesn't differentiate between a test error and failure. So for the junitlauncher task I had decided not to try an come up with our own definition of error vs failures. I haven't checked if that has changed in JUnit5 (I'll take a look at their documentation this week). 
   
   Having said that, if we want to differentiate between exception types as errors vs failures, irrespective of what JUnit5 does then I think we can do that if there's a demand for that. If it's to make the junit report output match with what we do for the junit task, then that might not be the best motivation. Because then developers who are more familiar with JUnit 5 might find it odd that Ant reports the failure as an error where as JUnit 5 itself doesn't do so.
   
   I will take a more detailed look at the change and the JUnit 5 documentation in the coming days.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.