DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29970>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29970 [PATCH] inserver junit testing Summary: [PATCH] inserver junit testing Product: Cocoon 2 Version: Current CVS 2.1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This piece of code allows junit test in a normal server environment. mockup objects for building up an test environment not needed anymore. Automated testing of Cocoon components in a special servlet container like Weblogic should be easier now. Reporting is as for 'normal' JUnit tests. 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. See the README in the uploaded tgz.
