Junit 4 examples

There seems to be some repeated questions about using JUnit. So I made a short example using JUnit 4 with ant. First here is the directory structure of my files. build build/build.sh build/build.xml lib lib/hamcrest-core-1.3.jar lib/junit-4.11.jar src src/org src/org/javachannel src/org/javachannel/SimulatedSpring.java test test/org test/org/javachannel test/org/javachannel/SimulatedSpringTest.java The class I want...

4 minute(s) read