Hammock 1.2 (Default branch) |
|
|
Hammock is a mock object framework for J2ME
devices. It is used in conjunction with unit test
frameworks like JMUnit and J2MEUnit. The framework
includes mocks for many of the J2ME UI and I/O
classes as well as a utility, HammockMaker, for
generating mocks of other classes.
License: The Apache License 2.0
Changes:
The HammockMaker utility is now an Ant task. This
simplifies the creation of the mock object source
files. In particular, the mock objects can now be
built as part of a script for compiling, testing,
and deploying a MIDlet or library. HammockMaker
also generates additional constructors for mock
objects, which makes it simpler to set up the mock
objects in unit tests. A detailed example,
ObjectStreams, has been added to show how to test
effectively with Hammock.
|