https://bz.apache.org/bugzilla/show_bug.cgi?id=70175
Jaikiran Pai <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #1 from Jaikiran Pai <[email protected]> --- Hello Maarten, the junitlauncher task has a "haltOnFailure" attribute https://ant.apache.org/manual/Tasks/junitlauncher.html. It doesn't however distinguish between error or failure since JUnit 5 itself doesn't have that distinction anymore. Marc, whose one of the maintainers of JUnit project had this to say about this recently https://github.com/apache/ant/pull/221#issuecomment-2979280480. Having said that, this isn't the first request for such an enhancement. So maybe we should do something for the junitlauncher task. If we had to enhance this in junitlauncher, maybe we consider Marc's suggestion of considering "AssertionError" type exceptions as failures, and all other exception types as errors. And then allow a way to control the build progress. Would that address it for your project(s)? -- You are receiving this mail because: You are the assignee for the bug.
