I encountered something similar, and had to replace the junit.jar from the cactus 1.4.1 distribution with the newer junit.jar. And I do see that failed error conditions are properly reported as Failures, not Errors.
I'm not doing ejb testing, though, so if there is something specific about ejb in-container vs. out-container testing, feel free to ignore this...
Paul Christmann
Boulatian, Misak wrote:
Hi all, I am a newbe in cactus but I know junit very well. One thing I've noticed
that cactus reverses failures with errors. If I test my ejbs outside
container and one of my assertEquals fails then junit reports 1 failure, 0
error. If I test the same condition within cactus, I get 1 error, 0 failure.
I wonder why cactus is switching it because assertEquals failure is failure
and not an error!!! If someone can respond I would really appreciate it.
I am using cactus 1.4.1 and junit 3.8.1.
Thanks,<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />
Misak M. Boulatian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
