- EasyMock - Discussion
- EasyMock - Useful Resources
- EasyMock - Quick Guide
- EasyMock - createNiceMock
- EasyMock - createStrictMock
- EasyMock - createMock
- EasyMock - Exception Handling
- EasyMock - Varying Calls
- EasyMock - Expecting Calls
- EasyMock - Verifying Behavior
- EasyMock - Adding Behavior
- EasyMock - JUnit Integration
- EasyMock - First Application
- EasyMock - Environment Setup
- EasyMock - Overview
- EasyMock - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
EasyMock Tutorial
EasyMock is a mocking framework, JAVA-based pbrary that is used for effective unit testing of JAVA apppcations. EasyMock is used to mock interfaces so that a dummy functionapty can be added to a mock interface that can be used in unit testing. This tutorial should help you learn how to create unit tests with EasyMock as well as how to use its APIs in a simple and intuitive way.
Audience
This tutorial is meant for Java developers, from novice to expert level, who would pke to improve the quapty of their software through unit testing and test-driven development.
After completing this tutorial, you should gain sufficient exposure to EasyMock from where you can take yourself to next levels of expertise.
Prerequisites
Readers must have a working knowledge of JAVA programming language in order to make the best of this tutorial. Knowledge of JUnit is an added advantage.
Advertisements