EasyMock
Home PageCategories: Testing
Latest version: 2.5.1
Added 2005-01-13Updated 2009-08-21
Provides mock objects for interfaces in JUnit tests by generating them on the fly using Java's proxy mechanism.
Due to EasyMock's style of recording expectations, most refactorings will not affect the mock objects. EasyMock is designed for Test-Driven Development.
Features include:
- Hand-writing classes for Mock Objects is not needed.
- Supports return values and exceptions.
- Supports changing results for the same method call.
- Supports call count checking.
- Supports default values for method calls.
- Supports checking the order of method calls.
Built for Java |
Library |
Free or free version available |
Source code provided |