JUnit and EasyMock




Other Refcardz


thumb

C#

Features include String Literals, Delegates, Declaring Events, Generics, Extension Methods, Query Expressions (C# 3), Hot Tips and more.


thumb

Effective Process Modeling with BPM & BPMN

Contents Include: About Business Process Management, About BPMN, Other Constructs, Exception Flow, Workflow patterns with BPMN, Hot Tips and more...


thumb

Getting Started with Grails

Contents Include: Getting Started with Grails, Testing, Domain Class Mosaic, The Three R's of Controllers, Services, Hot Tips and more...


thumb

NetBeans IDE Java Editor

Features include Getting NetBeans IDE, Development with NetBeans IDE, Keyboard Shortcuts and Code Templates, Quick Options Windows Overview, 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.