[ http://issues.apache.org/jira/browse/COCOON-1203?page=all ]
David Crossley updated COCOON-1203: ----------------------------------- Bugzilla Id: (was: 29970) Other Info: [Patch available] Description: 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. was: 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. > [PATCH] inserver junit testing > ------------------------------ > > Key: COCOON-1203 > URL: http://issues.apache.org/jira/browse/COCOON-1203 > Project: Cocoon > Type: Bug > Components: - Components: Avalon > Versions: 2.1.8 > Environment: Operating System: All > Platform: All > Reporter: Claas Thiele > Assignee: Cocoon Developers Team > Attachments: inserver-junit.tgz > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira