On 9/6/06, Jason Vincent <[EMAIL PROTECTED]> wrote:

Hi there,

I'm trying to create some junit tests for my VC's.  All my current
domain tests use Cactus so that they can use the DB connectivity.

To use cactus, my test cases are extending ServletTestCase.  So when I
want to test the VC's I would also need to extend
AbstractViewControllerTestCase - and there lies my problem.

Has anyone used Cactus with the Shale Testing framework?
Any suggestions?


The Shale test framework is really focused on supporting standalone unit
tests, while Cactus is all about testing inside the container.  It would
seem likely that a Cactus adapter layer (which would include, for example, a
base test case for testing view controllers inside the container) would be
useful -- but its implementation would be very different than the one in the
current test framework, which is all about setting up a mock objects
simulation of the runtime environment inside the container.


Jason



Craig

Reply via email to