User: user57
Date: 02/03/07 16:04:29
Modified: src/docs/developers/guide buildsystem-faq.jsp
Log:
o Testsuite faqs... really wish this was generated by xml,
removed contents index, cause it is gonna be a pain to maintain
by hand.
Revision Changes Path
1.5 +41 -12 newsite/src/docs/developers/guide/buildsystem-faq.jsp
Index: buildsystem-faq.jsp
===================================================================
RCS file: /cvsroot/jboss/newsite/src/docs/developers/guide/buildsystem-faq.jsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- buildsystem-faq.jsp 21 Nov 2001 21:47:33 -0000 1.4
+++ buildsystem-faq.jsp 8 Mar 2002 00:04:28 -0000 1.5
@@ -3,7 +3,7 @@
<jsp:param name="SLOGAN" value="BUILD SYSTEM FAQ"/>
</jsp:include>
-<!-- $Id: buildsystem-faq.jsp,v 1.4 2001/11/21 21:47:33 user57 Exp $ -->
+<!-- $Id: buildsystem-faq.jsp,v 1.5 2002/03/08 00:04:28 user57 Exp $ -->
<jsp:include page="/common/picateam.jsp" flush="true"/>
@@ -22,16 +22,7 @@
<!-- ==================================================================== -->
-<h2><a name="Contents"></a>Contents</h2>
-
-<p><ul>
- <li><a href="#Ant_directly">Why can't I use <tt>ant</tt> directly?</a>
- <li><a href="#What_are_Hooks">What are hooks?</a>
- </ul>
-
-<!-- ==================================================================== -->
-
-<h2><a name="Ant_directly"></a>Why can't I use <tt>ant</tt> directly?</h2>
+<h2>Why can't I use <tt>ant</tt> directly?</h2>
<p>The JBoss build system is based on Ant, but requires a very specific
environemnt to execute in. To facilitate easy usage and minimize user
@@ -55,7 +46,9 @@
<p>[<a href="#Contents">Contents</a>]
-<h2><a name="What_are_Hooks"></a>What are hooks?</h2>
+<!-- ==================================================================== -->
+
+<h2>What are hooks?</h2>
<p>If you have looked through a <tt>build/build.xml</tt> file, you may have
noticed a section dealing with module hooks. Just what are those hooks
@@ -125,5 +118,41 @@
everything works... even if they don't show it =)
<p>[<a href="#Contents">Contents</a>]
+
+<!-- ==================================================================== -->
+
+<h2>How can I run one test in the JBoss/Testsuite module?</h2>
+
+<h3>To run a single set of of tests, based on functionality</h3>:
+
+<pre class="command">
+./testsuite/build.sh -Dtest=web test
+</pre>
+
+<p>This will run all of the tests under org.jboss.test.web.test.
+
+<h3>To run a single set of of tests, based on functionality</h3>:
+
+<pre class="command">
+./testsuite/build.sh -Dtest=org.jboss.test.web.test.SomeTestCase one-test
+</pre>
+
+<p>This will only run the org.jboss.test.web.test.SomeTestCase test.
+
+<p>You might also want you generate the reports afterwards, so you can
+ check how the test went:
+
+<pre class="command">
+./testsuite/build.sh tests-report
+</pre>
+
+<p>This will generate text and html reports in <tt>./testsuite/output/reports</tt>.
+ You may need to build <em>clean</em> before each test to avoid getting
+ old results in the report, or simply delete the
+ <tt>./testsuite/output/reports</tt> directory before running the tests.
+
+<p>[<a href="#Contents">Contents</a>]
+
+<!-- ==================================================================== -->
<jsp:include page="/developers/navigation.jsp" flush="true"/>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development