Posts tagged with 'junit'

JUnit – a better way how to test intentional exception throws

September 14th, 2011 by Libor Jelinek

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.

Read the rest of this entry »

Tags: , | Posted in: Java | No Comments »

Sidebar decoration image
Copyright © 2001-2009 Virtage Software. Virtage is registered trademark of Libor Jelinek.
Developer blogs and tutorials Virtage Devblog is proudly powered by WordPress.