ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r645890 - /ant/antlibs/antunit/trunk/docs/antunit.html
Date Tue, 08 Apr 2008 13:01:45 GMT
Author: bodewig
Date: Tue Apr  8 06:01:45 2008
New Revision: 645890

URL: http://svn.apache.org/viewvc?rev=645890&view=rev
Log:
Document suiteSetUp and suiteTearDown

Modified:
    ant/antlibs/antunit/trunk/docs/antunit.html

Modified: ant/antlibs/antunit/trunk/docs/antunit.html
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/docs/antunit.html?rev=645890&r1=645889&r2=645890&view=diff
==============================================================================
--- ant/antlibs/antunit/trunk/docs/antunit.html (original)
+++ ant/antlibs/antunit/trunk/docs/antunit.html Tue Apr  8 06:01:45 2008
@@ -42,9 +42,16 @@
     is "test" exactly) are considered test cases.  If a test build
     file contains a target named setUp, this gets executed before each
     test target.  If it contains a target named tearDown this gets
-    executed after each test target.  Each test target is run in a
-    fresh Ant project, i.e. each test target has a fresh set of
-    properties and references.</p>
+    executed after each test target.</p>
+
+    <p>If the test build file contains a target named suiteSetUp, this
+    gets executed before te very first test target (or before the
+    setUp target is executed for the first time).  If it contains a
+    target named suiteTearDown this gets executed after the last test
+    target (or tearDown has been executed the last time).</p>
+
+    <p>Each test target is run in a fresh Ant project, i.e. each test
+    target has a fresh set of properties and references.</p>
 
     <p>So in a build file with targets setUp, tearDown, test1 and
     test2, antunit will run two Ant builds.  One will run the targets



Mime
View raw message