A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/636.html

Document ID: 636
Branch: main
Language: default
Name: Apache Cocoon Tests (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 7/3/07 2:05:34 PM
Updated by: Grzegorz Kossakowski

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 6730 bytes (previous version: 7071 bytes)
Content diff:
(46 equal lines skipped)
    
    <pre>&lt;testcase&gt;
        &lt;roles&gt;
---         &lt;role name="org.apache.cocoon.generation.GeneratorSelector" 
shorthand="generators" 
default-class="org.apache.cocoon.core.container.DefaultServiceSelector"/&gt;
+++         &lt;role name="org.apache.cocoon.generation.GeneratorSelector" 
shorthand="generators"
+++               
default-class="org.apache.cocoon.core.container.DefaultServiceSelector"/&gt;
            &lt;role name="org.apache.excalibur.store.Store/TransientStore" 
shorthand="store" 
default-class="org.apache.excalibur.store.impl.MemoryStore"/&gt;
---         &lt;role 
name="org.apache.cocoon.template.expression.StringTemplateParserSelector" 
shorthand="string-template-parsers" 
default-class="org.apache.cocoon.core.container.DefaultServiceSelector"/&gt;
+++         &lt;role 
name="org.apache.cocoon.template.expression.StringTemplateParserSelector" 
shorthand="string-template-parsers"
+++               
default-class="org.apache.cocoon.core.container.DefaultServiceSelector"/&gt;
        &lt;/roles&gt;
        &lt;components&gt;
            &lt;generators logger="test"&gt;
(62 equal lines skipped)
    
    <p>Which indicates that everything went just fine.</p>
    
+++ <h2>How to add more JUnit tests for Spring-managed class</h2>
+++ 
+++ <p class="fixme">TO BE DONE (soon)</p>
+++ 
    <h1>htmlunit Tests</h1>
    
--- <p>Run <tt>build htmlunit-tests</tt> to execute all html the unit functional
--- tests.<br/>
--- This requires running another Cocoon instance, as the htmlunit tests make 
HTTP
--- requests and check the responses.<br/>
--- Adding more htmlunit tests is easy, see src/test/htmlunit.<br/>
--- The htmlunit tests have not been ported to the 2.2 trunk yet, see
--- <a href="http://issues.apache.org/jira/browse/COCOON-1488";>Jira issue
--- COCOON-1488</a>.</p>
+++ <p class="fixme">I do not know what is the status of htmlunit tests in 
trunk,
+++ JIRA issue
+++ <a href="https://issues.apache.org/jira/browse/COCOON-1488";>COCOON-1488</a>
+++ contains more information</p>
    
    <h1>Other tests</h1>
    
--- <ul>
--- <li>Anteater functional tests are still present in 2.1.8 
(src/test/anteater),
--- but they will be retired once we have verified that the htmlunit tests cover
--- everything that was previously tested by anteater. <tt> <br/>
--- </tt></li>
--- <li>Samples web application can be used to perform manual testing. Of 
course,
--- contributions to automate these tests are welcome!<tt><br/>
--- </tt></li>
--- </ul>
+++ <p>Samples web application can be used to perform manual testing. Of course,
+++ <strong>contributions to automate these tests are welcome!</strong></p>
    
    </body>
    </html>