JUnit and EasyMock Refcard Available - Download Now
Join the DZone community and get the full member experience.Join For Free
JUnit is a free, elegant and easy Java unit test framework that developers in the know use to increase the stability of their software. Often used together with EasyMock, which provides Mock Objects for interfaces in JUnit tests, these are the predominant choices for testing tools in theJava space. The JUnit and Easy Mock refcard quickly shows you how to create unit tests using these popular tools. This refcard covers the JUnit Lifecycle, JUnit 4 Annotations, the EasyMock Object Lifecycle, Recording Behavior in EasyMock, Hot Tips and more.
Opinions expressed by DZone contributors are their own.