JUnit and EasyMock


Other Refcardz


thumb

Essential Ruby

Features include Simple Ruby Examples, IRB, RubyGems, Ruby Language Reference Tables, Hot Tips and More.


thumb

Core Mule

Features include Mule Architecture in a Nutshell, Configuring Mule, Mule Transformers, Filters, Routers and Components, Mule End Point Resolving, Hot Tips and more.


thumb

Design Patterns

Features include class diagrams, explanation, usage information, and a real world example.


thumb

Getting Started with Equinox and OSGi

Features include Developing Your First Bundle, Launching an Equinox System, Programming Model, Key Equinox Execution Options, 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