You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by jr...@apache.org on 2003/04/24 11:35:04 UTC
cvs commit: jakarta-cactus/documentation/docs/xdocs/writing howto_testcase.xml
jruaux 2003/04/24 02:35:04
Modified: documentation/docs/xdocs/writing howto_testcase.xml
Log:
Documented new feature : begin() and end()
Revision Changes Path
1.5 +18 -3 jakarta-cactus/documentation/docs/xdocs/writing/howto_testcase.xml
Index: howto_testcase.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/writing/howto_testcase.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- howto_testcase.xml 18 Jan 2003 00:08:34 -0000 1.4
+++ howto_testcase.xml 24 Apr 2003 09:35:04 -0000 1.5
@@ -174,7 +174,22 @@
</section>
- <section title="Step 5: testXXX() methods">
+ <section title="Step 5 (optional): begin() and end() methods">
+
+ <p>
+ <code>begin(...)</code> and <code>end(...)</code> methods are the
+ client side equivalent of the <code>setUp()</code> and a
+ <code>tearDown()</code> methods (see previous step). They are called
+ on the client side, before and after every test.
+ </p>
+ <p>
+ The <code>begin()</code> and <code>end()</code>
+ methods are optional.
+ </p>
+
+ </section>
+
+ <section title="Step 6: testXXX() methods">
<p>
As in JUnit, the main method for a test is the
@@ -237,7 +252,7 @@
</section>
- <section title="Step 6 (optional): beginXXX() methods">
+ <section title="Step 7 (optional): beginXXX() methods">
<p>
For each XXX test case, you can define a corresponding
@@ -280,7 +295,7 @@
</section>
<anchor id="endxxx"/>
- <section title="Step 7 (optional): endXXX() methods">
+ <section title="Step 8 (optional): endXXX() methods">
<p>
For each XXX test case, you can define a corresponding
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org