Description

This small library provides base and utility classes for use when testing Tapestry applications using TestNG.

The TestBase class is designed as a base class from which you may extend when creating TestNG tests. It provides a streamlined API for creating and training EasyMock 2.0 mock objects.

Alternately, you may use it as a utility class (but that tends to be more verbose ... only do this if you need to use it with JUnit).

Capturer is a special EasyMock arguments matcher that provides the ability to capture an object passed to a mock object as a method argument. This allows for later interrogation of the object, and is used in situtations where a test subject creates an object and passes it to a mock collaborator object, but doesn't return it.

JettyRunner is a utility for starting up a Jetty 6 server. It is used for integration testing, usually in concert with jWebUnit.

Availability

An initial version of the library is now available in the Maven 2 repository at http://howardlewisship.com/repository/

The group id is com.javaforge.tapestry and the artifact id is tapestry-testng.