brekke 02/03/28 19:46:56
Modified: xdocs goals.xml
Log:
Expanded the section on unit testing.
Revision Changes Path
1.15 +21 -2 jakarta-turbine-maven/xdocs/goals.xml
Index: goals.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/xdocs/goals.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- goals.xml 29 Mar 2002 02:05:09 -0000 1.14
+++ goals.xml 29 Mar 2002 03:46:56 -0000 1.15
@@ -86,13 +86,32 @@
</subsection>
<subsection name="Providing guidelines for thorough testing practices">
- <p>
+ <p>
Maven provides an easy way to start unit testing right from
your project's inception and Maven can enforce rules so that testing is
made to be an integral part of your project's development lifecycle.
Maven also provides
- a general pattern for run-time tests and we are currently integrating
+ a general pattern for integration unit tests and we are currently
integrating
<a href="http://quilt.sourceforge.net">Quilt</a> for coverage testing.
</p>
+ <p>
+ Specification, execution, and reporting of your projects unit tests are
part of
+ the normal build cycle using Maven. The <a
href="http://www.junit.org">Junit</a>
+ framework and corresponding support in Ant provide the unit testing
harness.
+ Current unit testing best practices were used as guidelines:
+ <ul>
+ <li>Keeping your test source code in a separate, but parallel source
tree</li>
+ <li>Using test case naming conventions to locate and execute tests</li>
+ <li>Have test cases setup their environment and don't rely on
customizing the build
+ for test preparation.</li>
+ </ul>
+ </p>
+ <p>
+ In-container unit testing of web based applications is provided by the
+ <a href="http://jakarta.apache.org/cactus">Cactus</a> testing framework.
Maven
+ provides a testing harness for these <i>integration unit tests</i> in the
same fashion
+ as regular unit tests. Preliminary support for in-container testing
includes Tomcat 4.x
+ based containers.
+ </p>
</subsection>
<subsection name="Providing coherent visualization of project information">
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>