cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: inserver unit testing
Date Wed, 07 Jul 2004 21:02:19 GMT
Claas Thiele wrote:

> Hi,
> I've written a JUnit adapter making JUnit tests inside a Cocoon 
> servlet possible.
> advantages are;
> - no mock objects for context creation needed
> - testing of special servlet environments (i.e. weblogic) possible
> - standard junit reporting (ant, maven) can be used
> There is a CocoonTestCase extending TestCase having the objectmodel 
> and servicemanager as member variables. This is the base class for 
> testcases running on serverside. And there is a TestCaseReader to be 
> included in the sitemap. Its for activating the testcases and sending 
> back the results.

Looks like a great job!

> Maybe, it can make testing Cocoon easier.

It certainly can help... if we can get our hands on the code ;-)

If you consider contributing this code, please add it to bugzilla.


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message