JUnit Rules!

Monday 11 February 2013 JUnit Java Testing Some weeks ago at Devoxx in Belgium I heard about the JUnit feature called Rules. The feature got introduced without causing a stir but it’s exactly what I was waiting for! package org.junit.rules; import org.junit.runner.Description; import org.junit.runners.model.Statement; public interface TestRule { /** * Modifies the method-running {@link Statement} […]

Dangerous drop-in replacement Jars

Monday 04 February 2013 Compiler Java Jar Have you ever put an updated jar into your classpath, eg. a new version of a library for your webapp? In this post I’d like to show you something you should be aware of, especially if you get strange behavior after a simple jar update. The riddle Create […]