Projects / Hammock / Releases

RSS All releases of Hammock

  •  10 Jun 2009 08:52
Avatar

Release Notes: An Eclipse plug-in has been added, making it simpler to create mock objects in the Eclipse IDE. A bug has been fixed; it is now possible to mock static inner classes.

  •  24 Feb 2009 07:29
Avatar

Release Notes: This release is a significant code cleanup of version 1.6. Nine classes have been removed. The retained classes have also been significantly refactored with methods being given more descriptive names or removed altogether. Support for spy objects has been improved with three new classes added. Overall the number of core classes has been reduced from 27 to 21. Because of the large number of changes from version 1.6 to 2.0, Hammock 2.0 is recommended only for new projects.

  •  02 Feb 2009 10:42
Avatar

Release Notes: This release adds better support for spy objects. Developers who prefer the Arrange-Act-Assert (AAA) idiom to record-and-replay may like to use the new coding style supported by the spy objects.

  •  05 Jan 2009 14:04
Avatar

Release Notes: A new method invocation handler was added, which requires less boilerplate code than the CompositeHandler class for setting expectations on mocks of concrete classes. The user guide has been trimmed from 33 pages to 20 pages. A reference guide has been added to the release. Examples use the recent JMUnit 1.2 Ant tasks for running tests as part of the build.

  •  10 Jun 2008 09:24
Avatar

    Release Notes: This release adds an IArgumentMatcher interface that can be associated with an expectation. The argument matcher is used to verify that the expected and actual arguments passed in a mock object's method invocation are correct. The sample applications now include a J2MEUnit example in addition to the JMUnit examples. The HammockMaker example has been improved. The user guide includes a section on Hammock's internals describing the core classes of the framework. Mocks of the JSR211 (CHAPI) interfaces have been added.

    •  04 May 2008 14:01
    Avatar

    Release Notes: This release adds an Ant task, testlistener, that can be used with JMUnit to make continuous integration testing possible; no manual intervention is required to run or verify the tests. In particular, a broken test causes an Ant build to fail. The demo application, ObjectStreams, has been extended with more unit tests and to show how continuous integration testing is now possible. Mock objects from the java.util package (e.g. MockDate and MockRandom) have been added to the distribution.

    •  16 Mar 2008 23:33
    Avatar

    Release Notes: 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.

    •  04 Feb 2008 04:13
    Avatar

    Release Notes: This version includes mocks of many of the kSOAP2 classes.

    •  01 Jan 2008 02:22
    Avatar

    No changes have been submitted for this release.

    Screenshot

    Project Spotlight

    BackupRotator

    A program to rotate log or backup files.

    Screenshot

    Project Spotlight

    TeeChart for Android

    A charting component for Android development environments.