ArticlesJUnit Reloaded
The most popular Java unit testing framework, JUnit, has made massive changes for its new version. By aggressively adopting annotations, JUnit 4 has become more powerful and simpler to use. Ralf Stuckert shows you what's different in the new version. Dec. 7, 2006
Getting Started with EasyMock2
One impediment to test-first development is object inter-relationships that are hard to recreate outside of their runtime container. EasyMock is one approach to creating "mock objects" to provide the parts of the system that aren't available at test time. Ralf Stuckert shows you how the latest version of EasyMock uses Java SE 5.0 features to simplify testing. Jun. 20, 2006
|