Hi,

I've been wondering how to test exceptions in JUnit 4.x when you want  
to assert the exception message. Just found an answer:
http://www.wakaleo.com/blog/225-testing-exceptions-in-junit-47

It looks to me slightly better than using the try/fail/catch strategy.

WDYT?

Thanks
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to