You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Bart Molenkamp <b....@bizzdesign.nl> on 2004/03/19 11:21:57 UTC

Cactus and Cocoon

Hi,

I want to use Jakarta Cactus to test components that I've developed.
How can I make a JUnit test case that has a reference to a
ServiceManager, so that my test case can access my components?

I prefer to use existing TestRunners (e.g. the TestRunnerServlet).

Thanks,
Bart.

Re: Cactus and Cocoon

Posted by Unico Hommes <un...@hippo.nl>.
Bart Molenkamp wrote:

>Hi,
>
>I want to use Jakarta Cactus to test components that I've developed.
>How can I make a JUnit test case that has a reference to a
>ServiceManager, so that my test case can access my components?
>
>I prefer to use existing TestRunners (e.g. the TestRunnerServlet).
>  
>

You can use ExcaliburTestCase for that described here:
http://avalon.apache.org/excalibur/api/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.html