From time to time during writing JUnit testing (you’are writing test, aren’t you
) you will need to test that do throw an exception. Have a look at methods to test such intentional expected behaviour.
Posts tagged with 'junit'
JUnit – a better way how to test intentional exception throws
September 14th, 2011 by Libor Jelinek
Tags: java, junit | Posted in: Java | No Comments »
