cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29970] New: - [PATCH] inserver junit testing
Date Thu, 08 Jul 2004 09:22:27 GMT
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: dev@cocoon.apache.org
        ReportedBy: cthiele@ct42.de


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.

Mime
View raw message