JUnit and EasyMock




Other Refcardz


thumb

Getting Started with Hibernate Search

Features include Mapping Entities, Bridges, Initial Indexing of Entities, Querying Indexes, Hot Tips and more.


thumb

Getting Started with JavaFX

Contents Include: About JavaFX, JFXPoetry - a simple example, JavaFX Reference, Hot Tips and more...


thumb

Seam UI

Contents Include: Simplifying JSF, Page Navigation, JSF Component Annotations, JSF Component Tags, Hot Tips, and More...


thumb

NetBeans IDE 6.7 Update

Contents Include: About NetBeans IDE, Java Editor Overview, NetBeans IDE Java Quick Start Tutorial, Keyboard Shortcuts and Code Templates, Hot Tips and more...




Click Here To
Download PDF


Overview

JUnit and EasyMock are the predominant choices for testing tools in the Java space. This reference card will guide you through the creation of unit tests with JUnit and EasyMock. It contains detailed definitions for unit testing and mock objects as well as a description of the lifecycle of each. The APIs for both JUnit and EasyMock are covered thoroughly so you can utilize these tools to their fullest extent.

Features include JUnit Lifecycle, JUnit 4 Annotations, EasyMock Object Lifecycle, Recording Behavior in EasyMock, Hot Tips and more.


About the Author

Michael Minella’s technical background runs the gambit. From the first programming language he ever learned, mainframe Assembler, to the languages he is using now (Java and Ruby) he has been all over the map. His passion is in quality software development and the sharing of knowledge wit others thru mentoring and formal teaching. He blogs and regularly writes tutorials for his site http://www.michaelminella.com.

Blog and Tutorials

http://www.michaelminella.com

Comments

boriska70 replied on Wed, 2009/08/05 - 9:56am

Hi Michael, thanks a lot for this reference. It is just excellent: very clear, short and explain many things that I couldn't find in other sources. Boris

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.