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.
Maybe, it can make testing Cocoon easier.
Claas
