[testng] 175/355: Add documentation

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 4f8564f4560148d3d7bdb69689a9ea55b3d2e90f
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date:   Tue Apr 7 18:29:47 2015 +0200

    Add documentation
---
 CHANGES.txt                 | 2 ++
 doc/documentation-main.html | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/CHANGES.txt b/CHANGES.txt
index 6c20b72..2876950 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,6 @@
 Current
+Added: GITHUB-631: Avoid the static limitation of external DataProvider. (Julien Herr)
+Added: GITHUB-631: Allow to use Guice injection in DataProvider. (Julien Herr)
 Added: Drop support of Java6 and previous.
 Added: GITHUB-617: Allow injection of org.testng.ITestContext into the guice parent module. (Julien Herr)
 Fixed: RetryAnalyzer loops endlessly. (Krishnan Mahadevan)
diff --git a/doc/documentation-main.html b/doc/documentation-main.html
index 0f22c1c..251ec4e 100644
--- a/doc/documentation-main.html
+++ b/doc/documentation-main.html
@@ -1248,6 +1248,8 @@ public class MyTest {
 }
 </pre>
 
+The data provider supports injection too, but only field one. TestNG will use the test context for the injection.
+
 The Data Provider method can return one of the following two types:
 
 <ul>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list