vmassol     2002/08/25 04:12:14

  Modified:    documentation/docs/xdocs Tag: CACTUS_14_BRANCH book.xml
                        faq.xml todo.xml howto_testcase.xml changes.xml
  Added:       documentation/docs/xdocs Tag: CACTUS_14_BRANCH howto_jsp.xml
  Log:
  Added a JSP Howto that explains the possibilities Cactus offers to unit test JSP 
pages
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.15.2.1  +1 -1      jakarta-cactus/documentation/docs/xdocs/book.xml
  
  Index: book.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/book.xml,v
  retrieving revision 1.15
  retrieving revision 1.15.2.1
  diff -u -r1.15 -r1.15.2.1
  --- book.xml  28 Jul 2002 21:35:15 -0000      1.15
  +++ book.xml  25 Aug 2002 11:12:13 -0000      1.15.2.1
  @@ -46,8 +46,8 @@
       <menu-item type="hidden" source="howto_testcase_jsp.xml"/>
       <menu-item type="hidden" source="howto_testcase_filter.xml"/>
   
  +    <menu-item label="Jsp Howto" source="howto_jsp.xml"/>
       <menu-item label="Runner Howto" source="howto_runner.xml"/>
  -
       <menu-item label="Security Howto" source="howto_security.xml"/>
   
       <!-- Ant tutorial -->
  
  
  
  1.6.6.3   +0 -41     jakarta-cactus/documentation/docs/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/faq.xml,v
  retrieving revision 1.6.6.2
  retrieving revision 1.6.6.3
  diff -u -r1.6.6.2 -r1.6.6.3
  --- faq.xml   22 Aug 2002 08:41:07 -0000      1.6.6.2
  +++ faq.xml   25 Aug 2002 11:12:13 -0000      1.6.6.3
  @@ -49,9 +49,6 @@
             org.apache.commons.logging.impl.LogFactoryImpl" error when I use 
             a JUnit TestRunner different from TextTestRunner</jump>
           </li>
  -        <li>
  -          <jump anchor="faq9">How can I use Cactus to test my JSPs</jump>
  -        </li>
         </ul>
       </s1>
   
  @@ -395,43 +392,5 @@
   
        </s1>
   
  -    <anchor id="faq9"/>
  -    <s1 title="How can I use Cactus to test my JSPs">
  -
  -        <s2 title="Question">
  -          <p>
  -            I have a web application using the MVC model, i.e. made of a 
  -            servlet controller, java beans, tag libraries and JSP pages.
  -            Can I use Cactus to test my JSPs ? More generally how can
  -            Cactus help me to unit test this application ?
  -          </p>
  -        </s2>
  -        <s2 title="Solution">
  -          <p>
  -                 Cactus lets write unit tests for all parts of this application. 
  -                 You would:
  -               </p>
  -               <ul>
  -                     <li> 
  -              write a pure junit test for your java bean (as they have no 
  -              dependencies on the environment). You can also use Cactus 
  -              if you wish to have only one framework to set up.
  -                 </li>
  -                 <li>
  -              write cactus unit tests for taglibs (using JspTestCase)
  -            </li>
  -            <li>
  -              write cactus unit tests for your servlet controller and other 
  -              classes manipulating the servlet api (using ServletTestCase)
  -            </li>
  -            <li>
  -              write cactus functional tests for the returned HTML (using the
  -              <link href="howto_httpunit.html">HttpUnit integration</link>)
  -            </li>
  -          </ul>
  -             </s2>
  -
  -     </s1>
  -     
     </body>
   </document>
  
  
  
  1.17.2.2  +3 -21     jakarta-cactus/documentation/docs/xdocs/todo.xml
  
  Index: todo.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/todo.xml,v
  retrieving revision 1.17.2.1
  retrieving revision 1.17.2.2
  diff -u -r1.17.2.1 -r1.17.2.2
  --- todo.xml  22 Aug 2002 10:10:00 -0000      1.17.2.1
  +++ todo.xml  25 Aug 2002 11:12:13 -0000      1.17.2.2
  @@ -32,30 +32,9 @@
     <version title="Version 1.5">
   
       <category title="Documentation">
  -      <action assigned-to="Vincent Massol">
  -        Move all documentation to docbook and cocoon2 and generate PDF
  -        containing full Cactus documentation. Note: I still need to find out
  -        how to make Cocoon2 generate errors during generation of doc. so that
  -        the Ant build reports an error and stops upon finding one.
  -      </action>
         <action>
           Add a tutorial for building Cactus from the source distribution.
         </action>
  -      <action assigned-to="Jari Worsley">
  -        Write a tutorial that explains how to use Cactus to do unit testing of
  -        JSP, i.e. only test
  -        the JSP itself and not the controller part and the model (only test the
  -        View in an MVC model). This is done by using mock implementations of
  -        java beans used in the JSP to unit test, set these java beans in the
  -        testXXX() method of a cactus test and then assert the result of the
  -        JSP executing in the endXXX() method.
  -      </action>
  -      <action>
  -        Add some documentation (possibly in the FAQ) to explain how to unit
  -        test Struts classes (refer to the
  -        <link href="http://strutstestcase.sourceforge.net/";>StrutsTestCase</link>
  -        project).
  -      </action>
       </category>
   
       <category title="Build Process">
  @@ -74,6 +53,9 @@
           scripts need to be reworked so that the deployed test war is deployed
           within the <code>target</code> output directory and not to where
           JBoss/Tomcat is installed.
  +      </action>
  +      <action>
  +             Move Cactus to Maven.
         </action>
       </category>
   
  
  
  
  1.3.2.1   +1 -0      jakarta-cactus/documentation/docs/xdocs/howto_testcase.xml
  
  Index: howto_testcase.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/howto_testcase.xml,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- howto_testcase.xml        27 Jul 2002 21:21:20 -0000      1.3
  +++ howto_testcase.xml        25 Aug 2002 11:12:13 -0000      1.3.2.1
  @@ -280,6 +280,7 @@
   
         </s2>
   
  +      <anchor id="endxxx"/>
         <s2 title="Step 7 (optional) : endXXX() methods">
   
           <p>
  
  
  
  1.35.2.4  +4 -0      jakarta-cactus/documentation/docs/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/changes.xml,v
  retrieving revision 1.35.2.3
  retrieving revision 1.35.2.4
  diff -u -r1.35.2.3 -r1.35.2.4
  --- changes.xml       14 Aug 2002 21:14:21 -0000      1.35.2.3
  +++ changes.xml       25 Aug 2002 11:12:13 -0000      1.35.2.4
  @@ -48,6 +48,10 @@
       </devs>
   
       <release version="1.4" date="- in CVS">
  +      <action dev="VMA" type="add">
  +        Added a <link href="howto_jsp.html">tutorial</link> that explains how
  +        to test JSPs with Cactus.
  +      </action>
         <action dev="VMA" type="fix" due-to="David George" 
due-to-email="[EMAIL PROTECTED]">
           Fixed JDK broken 1.2 compatibility (introduced in 1.4b1).
         </action>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +184 -0    jakarta-cactus/documentation/docs/xdocs/Attic/howto_jsp.xml
  
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to