Permalink
Browse files

5.7

  • Loading branch information...
cbeust
cbeust committed Nov 8, 2007
1 parent 014b8fe commit 2c75cc44bbe023c13efe2458a7a6453fc39dbfdd
View
@@ -4,7 +4,7 @@
Added: @BeforeMethod(firstTimeOnly) and @AfterMethod(lastTimeOnly)
Added: @BeforeMethods can now take a Method and ITestContext parameters (like @DataProvider)
Fixed: logging about abstract classes moved to level 5
-Added: if @Parameter is missing from testng.xml then it is read from Sys env.
+Added: if @Parameter is missing from testng.xml then it is read from the System properties
Fixed: Don't run a @DataProvider method as a test when a class-level @Test is present
Added: Attribute @Test#skipFailedInvocations
Fixed: TESTNG-169 Error message: <method> is depending on nonexistent method null ("null" is uninformative)
View
@@ -22,7 +22,7 @@ concurrent.jar=backport-util-concurrent-2.2.jar
# Names of distributions
#
testng.basename=testng
-testng.version=5.7b
+testng.version=5.7
jdk14.testng.jar=${testng.basename}-${testng.version}-jdk14.jar
jdk15.testng.jar=${testng.basename}-${testng.version}-jdk15.jar
other.jars.dir=other-jars
View
@@ -15,7 +15,7 @@ <h2 align="center">Downloading TestNG</h2>
<p>
-You can <a href="http://testng.org/testng-5.6.zip">download TestNG here</a>.
+You can <a href="http://testng.org/testng-5.7.zip">download TestNG here</a>.
</p>
<p>For the Eclipse plug-in, we suggest using the update site:</p>
<ul>
@@ -68,6 +68,7 @@ <h2 align="center">Downloading TestNG</h2>
<li><a href="http://testng.org/testng-5.3.zip">5.3</a></li>
<li><a href="http://testng.org/testng-5.4.zip">5.4</a></li>
<li><a href="http://testng.org/testng-5.5.zip">5.5</a></li>
+ <li><a href="http://testng.org/testng-5.6.zip">5.6</a></li>
</ul>
<p>TestNG is also <a href="http://code.google.com/hosting/search?q=testng&btn=Search+Projects">hosted on Google Code</a>,
where you can download the source through the Subversion repository or subscribe to the various mailing-lists.</p>
View
@@ -30,9 +30,9 @@ <h2>Our book is now available</h2>
<p align="right"><font size="-2"><em>C&eacute;dric Beust (cedric at beust.com)<br>
Alexandru Popescu (the.mindstorm at gmail.com)<br>
-Current version: 5.6<br>
+Current version: 5.7<br>
Created:&nbsp;April 27th, 2004<br>
-Last Modified:&nbsp; October 25th, 2007</em></font></p>
+Last Modified:&nbsp; November 8th, 2007</em></font></p>
<p>TestNG is a testing framework inspired from JUnit and NUnit but introducing
@@ -64,8 +64,8 @@
public String description() default "";
/**
- * If true and that a @Test method has an invocationCount > 0, this
- * @AfterMethod will only be invoked once (after the last invocation).
+ * If true and the @Test method that was just run has an invocationCount > 1, this
+ * AfterMethod will only be invoked once (after the last test invocation).
*/
public boolean lastTimeOnly() default false;
@@ -64,8 +64,8 @@
public String description() default "";
/**
- * If true and that a @Test method has an invocationCount > 0, this
- * @BeforeMethod will only be invoked once (before the first invocation).
+ * If true and the @Test method about to be run has an invocationCount > 1, this
+ * BeforeMethod will only be invoked once (before the first test invocation).
*/
public boolean firstTimeOnly() default false;
}

0 comments on commit 2c75cc4

Please sign in to comment.