<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-17362</id>
	<title>Nabble - TestNG</title>
	<updated>2009-11-19T12:52:18Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/TestNG-f17362.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TestNG-f17362.html" />
	<subtitle type="html">&lt;a href=&quot;http://code.google.com/p/testng/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;TestNG&lt;/a&gt;&amp;nbsp;is a testing framework for Java inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26433914</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-19T12:52:18Z</published>
	<updated>2009-11-19T12:52:18Z</updated>
	<author>
		<name>alex-573</name>
	</author>
	<content type="html">testng_eclipse plugin 5.9.0.5 can work only with testng-jdk15.jar till
&lt;br&gt;714 revision.
&lt;br&gt;Below is changes with 715 revision: ( the first revision which does
&lt;br&gt;not work with eclipse plugin )
&lt;br&gt;&lt;br&gt;Index: trunk/src/main/org/testng/TestNG.java
&lt;br&gt;===================================================================
&lt;br&gt;--- trunk/src/main/org/testng/TestNG.java	(revision 714)
&lt;br&gt;+++ trunk/src/main/org/testng/TestNG.java	(revision 715)
&lt;br&gt;@@ -162,6 +162,10 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;= new ArrayList&amp;lt;IInvokedMethodListener&amp;gt;();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;private Integer m_dataProviderThreadCount = null;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;private String m_jarPath;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;private List&amp;lt;String&amp;gt; m_stringSuites = new ArrayList&amp;lt;String&amp;gt;();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;/**
&lt;br&gt;&amp;nbsp; &amp;nbsp; * Default constructor. Setting also usage of default listeners/
&lt;br&gt;reporters.
&lt;br&gt;@@ -315,13 +319,56 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; * @param jarPath
&lt;br&gt;&amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp; &amp;nbsp;public void setTestJar(String jarPath) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp;if ((null == jarPath) || &amp;quot;&amp;quot;.equals(jarPath)) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_jarPath = jarPath;
&lt;br&gt;+ &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;public void initializeSuitesAndJarFile() {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// Parse the suites that were passed on the command line
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;for (String suiteXmlPath : m_stringSuites) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if(LOGGER.isDebugEnabled()) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LOGGER.debug(&amp;quot;suiteXmlPath: \&amp;quot;&amp;quot; + suiteXmlPath + &amp;quot;\&amp;quot;&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;try {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Collection&amp;lt;XmlSuite&amp;gt; allSuites = new Parser
&lt;br&gt;(suiteXmlPath).parse();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (XmlSuite s : allSuites) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_suites.add(s);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(FileNotFoundException e) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(IOException e) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(ParserConfigurationException e) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(SAXException e) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// jar path
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// If suites were passed on the command line, they take
&lt;br&gt;precedence over the suite file
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// inside that jar path
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (m_jarPath != null &amp;&amp; m_stringSuites.size() &amp;gt; 0) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;StringBuilder suites = new StringBuilder();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;for (String s : m_stringSuites) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;suites.append(s);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;Utils.log(&amp;quot;TestNG&amp;quot;, 2, &amp;quot;Ignoring the XML file inside &amp;quot; +
&lt;br&gt;m_jarPath + &amp;quot; and using &amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ suites + &amp;quot; instead&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if ((null == m_jarPath) || &amp;quot;&amp;quot;.equals(m_jarPath)) return;
&lt;br&gt;&lt;br&gt;- &amp;nbsp; &amp;nbsp;File jarFile = new File(jarPath);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// We have a jar file and no XML file was specified: try to find
&lt;br&gt;an XML file inside the jar
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;File jarFile = new File(m_jarPath);
&lt;br&gt;&lt;br&gt;-
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL jarfileUrl = jarFile.getCanonicalFile().toURI().toURL();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URLClassLoader jarLoader = new URLClassLoader(new URL[]
&lt;br&gt;{ jarfileUrl });
&lt;br&gt;@@ -505,29 +552,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; * &amp;lt;/pre&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp; &amp;nbsp;public void setTestSuites(List&amp;lt;String&amp;gt; suites) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp;for (String suiteXmlPath : suites) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;if(LOGGER.isDebugEnabled()) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LOGGER.debug(&amp;quot;suiteXmlPath: \&amp;quot;&amp;quot; + suiteXmlPath + &amp;quot;\&amp;quot;&amp;quot;);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;try {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Collection&amp;lt;XmlSuite&amp;gt; allSuites = new Parser
&lt;br&gt;(suiteXmlPath).parse();
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (XmlSuite s : allSuites) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_suites.add(s);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(FileNotFoundException e) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(IOException e) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(ParserConfigurationException e) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;catch(SAXException e) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace(System.out);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_stringSuites = suites;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;/**
&lt;br&gt;@@ -736,6 +761,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; * Run TestNG.
&lt;br&gt;&amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp; &amp;nbsp;public void run() {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;initializeSuitesAndJarFile();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;initializeListeners();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;initializeCommandLineSuites();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;initializeCommandLineSuitesParams();
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 19, 10:31 am, alex &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433914&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alexey.an...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Looks like TestNG plug-in does not support testng.jar newer then 5.9.1
&lt;br&gt;&amp;gt; To reproduce this issue:
&lt;br&gt;&amp;gt; 1) Prepare lib directory with two versions of testng-jdk15.jar
&lt;br&gt;&amp;gt;  - one with version from plugin lib directory: eclipse\plugins
&lt;br&gt;&amp;gt; \org.testng.eclipse_5.9.0.5\lib\testng-jdk15.jar.
&lt;br&gt;&amp;gt;    rename it to: testng-5.9.1beta-jdk15.jar
&lt;br&gt;&amp;gt;  - second one from testng-5.10:  testng-5.10-jdk15.jar
&lt;br&gt;&amp;gt; 2) Add testng-5.9.1beta-jdk15.jar to project build path.
&lt;br&gt;&amp;gt; 3) Set  use project TestNG check box in project properties
&lt;br&gt;&amp;gt; 4) Run any test. Should be PASSED
&lt;br&gt;&amp;gt; 5) change project build path from testng-5.9.1beta-jdk15.jar to
&lt;br&gt;&amp;gt; testng-5.10-jdk15.jar
&lt;br&gt;&amp;gt; 6) Rerun the same test. Should be FAIL
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alex
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 10, 2:30 am, Mats Nilsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433914&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mans...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Ok I will try to explain what I'm trying to do, step by step.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; * Check out the trunk
&lt;br&gt;&amp;gt; &amp;gt; * Import project in eclipse
&lt;br&gt;&amp;gt; &amp;gt; * Testing plugin by launching a separate application
&lt;br&gt;&amp;gt; &amp;gt; * Create a project with a class and corresponding test class
&lt;br&gt;&amp;gt; &amp;gt; * Right-click on test class and choose &amp;quot;Run as-&amp;gt;TestNg Test&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; This results in this warning:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; WARNING: No test suite found.  Nothing to run
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 2009/11/9 Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433914&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbe...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Mon, Nov 9, 2009 at 12:13 PM, Mats Nilsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433914&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mans...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; Because I cant get the trunk to work. It complains about not finding a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; suite file. I get that behaviour straight out of the checked out
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; trunk(without modification) and independent if I choose &amp;quot;Run as test&amp;quot; or
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; creates a suite file and &amp;quot;Run suite&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; I guess it can be because of TestNG and not because of the plugin but I'm
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt; not sure.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Can you be more specific and explain your steps to reproduce this problem?
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm not sure if you are talking about building the plug-in, or running it in
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; PDE, or...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Cédric
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433914&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433914&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-dev?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-dev?hl=&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26433914.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26429869</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-19T07:31:49Z</published>
	<updated>2009-11-19T07:31:49Z</updated>
	<author>
		<name>alex-573</name>
	</author>
	<content type="html">Looks like TestNG plug-in does not support testng.jar newer then 5.9.1
&lt;br&gt;To reproduce this issue:
&lt;br&gt;1) Prepare lib directory with two versions of testng-jdk15.jar
&lt;br&gt;&amp;nbsp;- one with version from plugin lib directory: eclipse\plugins
&lt;br&gt;\org.testng.eclipse_5.9.0.5\lib\testng-jdk15.jar.
&lt;br&gt;&amp;nbsp; &amp;nbsp;rename it to: testng-5.9.1beta-jdk15.jar
&lt;br&gt;&amp;nbsp;- second one from testng-5.10: &amp;nbsp;testng-5.10-jdk15.jar
&lt;br&gt;2) Add testng-5.9.1beta-jdk15.jar to project build path.
&lt;br&gt;3) Set &amp;nbsp;use project TestNG check box in project properties
&lt;br&gt;4) Run any test. Should be PASSED
&lt;br&gt;5) change project build path from testng-5.9.1beta-jdk15.jar to
&lt;br&gt;testng-5.10-jdk15.jar
&lt;br&gt;6) Rerun the same test. Should be FAIL
&lt;br&gt;&lt;br&gt;Alex
&lt;br&gt;&lt;br&gt;On Nov 10, 2:30 am, Mats Nilsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26429869&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mans...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ok I will try to explain what I'm trying to do, step by step.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * Check out the trunk
&lt;br&gt;&amp;gt; * Import project in eclipse
&lt;br&gt;&amp;gt; * Testing plugin by launching a separate application
&lt;br&gt;&amp;gt; * Create a project with a class and corresponding test class
&lt;br&gt;&amp;gt; * Right-click on test class and choose &amp;quot;Run as-&amp;gt;TestNg Test&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This results in this warning:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; WARNING: No test suite found.  Nothing to run
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/9 Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26429869&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbe...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Mon, Nov 9, 2009 at 12:13 PM, Mats Nilsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26429869&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mans...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Because I cant get the trunk to work. It complains about not finding a
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; suite file. I get that behaviour straight out of the checked out
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; trunk(without modification) and independent if I choose &amp;quot;Run as test&amp;quot; or
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; creates a suite file and &amp;quot;Run suite&amp;quot;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I guess it can be because of TestNG and not because of the plugin but I'm
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; not sure.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Can you be more specific and explain your steps to reproduce this problem?
&lt;br&gt;&amp;gt; &amp;gt; I'm not sure if you are talking about building the plug-in, or running it in
&lt;br&gt;&amp;gt; &amp;gt; PDE, or...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Cédric
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26429869&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-dev?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-dev?hl=&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26429869.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26423501</id>
	<title>Re: Running Parallel with different parameter sets for  each thread</title>
	<published>2009-11-19T01:51:57Z</published>
	<updated>2009-11-19T01:51:57Z</updated>
	<author>
		<name>konstantin-21</name>
	</author>
	<content type="html">&lt;a href=&quot;http://selenium-grid.seleniumhq.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://selenium-grid.seleniumhq.org/&lt;/a&gt;&amp;nbsp;this is the way.
&lt;br&gt;&lt;br&gt;On Nov 19, 7:08 am, zrawson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26423501&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zachary-raw...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I am creating Selenium tests that I need to run in parallel.  The problem is
&lt;br&gt;&amp;gt; that I need the tests that are running concurrently to be using different
&lt;br&gt;&amp;gt; remote controls to run the tests on, which means that I need different
&lt;br&gt;&amp;gt; parameter sets for each thread.  Is there any way to accomplish this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:&lt;a href=&quot;http://old.nabble.com/Running-Parallel-with-different-parameter-sets-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Running-Parallel-with-different-parameter-sets-&lt;/a&gt;...
&lt;br&gt;&amp;gt; Sent from the testng-users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26423501&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Running-Parallel-with-different-parameter-sets-for-each-thread-tp26420127p26423501.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421832</id>
	<title>Dependency Injection support in TestNG test classes?</title>
	<published>2009-11-18T23:35:36Z</published>
	<updated>2009-11-18T23:35:36Z</updated>
	<author>
		<name>S M Humayun</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm struggling to make dependency injection work with testng. I want
&lt;br&gt;to inject dependencies into my test classes via spring, is this
&lt;br&gt;possible? can you refer to me a simple example of doing that? whatever
&lt;br&gt;I found while googling further confuses me and I wonder how others
&lt;br&gt;worked their way out?
&lt;br&gt;&lt;br&gt;-----------------------------------------------
&lt;br&gt;S M Humayun
&lt;br&gt;Software Architect, IBL Group
&lt;br&gt;-----------------------------------------------
&lt;br&gt;Cell : 92.321.8707783
&lt;br&gt;Email (Official) : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421832&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun@...&lt;/a&gt;
&lt;br&gt;Email (Personal) : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421832&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun@...&lt;/a&gt;
&lt;br&gt;Google Talk : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421832&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun@...&lt;/a&gt;
&lt;br&gt;MSN : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421832&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun2001@...&lt;/a&gt;
&lt;br&gt;Yahoo : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421832&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;humayun_reports@...&lt;/a&gt;
&lt;br&gt;Skype : smhumayun
&lt;br&gt;AIM : syedmohdhumayun
&lt;br&gt;Blog : &lt;a href=&quot;http://smhumayun.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://smhumayun.blogspot.com&lt;/a&gt;&lt;br&gt;LinkedIn : &lt;a href=&quot;http://www.linkedin.com/in/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/smhumayun&lt;/a&gt;&lt;br&gt;Facebook : &lt;a href=&quot;http://www.facebook.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.facebook.com/smhumayun&lt;/a&gt;&lt;br&gt;Twitter : &lt;a href=&quot;http://twitter.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/smhumayun&lt;/a&gt;&lt;br&gt;-----------------------------------------------
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421832&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Dependency-Injection-support-in-TestNG-test-classes--tp26421832p26421832.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26420127</id>
	<title>Running Parallel with different parameter sets for each thread</title>
	<published>2009-11-18T20:08:07Z</published>
	<updated>2009-11-18T20:08:07Z</updated>
	<author>
		<name>zrawson</name>
	</author>
	<content type="html">I am creating Selenium tests that I need to run in parallel. &amp;nbsp;The problem is that I need the tests that are running concurrently to be using different remote controls to run the tests on, which means that I need different parameter sets for each thread. &amp;nbsp;Is there any way to accomplish this?
&lt;br&gt;&lt;br&gt;Thanks in advance&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Running-Parallel-with-different-parameter-sets-for-each-thread-tp26420127p26420127.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26400199</id>
	<title>Re: dataprovider iterator type case exception</title>
	<published>2009-11-17T16:07:07Z</published>
	<updated>2009-11-17T16:07:07Z</updated>
	<author>
		<name>new TestNG user</name>
	</author>
	<content type="html">thanks Ceric! Yes, that fixes the exception in my code.
&lt;br&gt;&lt;br&gt;On Nov 17, 3:45 pm, Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400199&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbe...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Each object that you return from next() should be an Object[], one element
&lt;br&gt;&amp;gt; for each parameter of your test method (so in your case, an array of one
&lt;br&gt;&amp;gt; String), are you sure that's what you're doing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; ***Cédric
&lt;br&gt;&amp;gt; *
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 17, 2009 at 3:40 PM, new TestNG user &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400199&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yesheng...@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I am trying to use the TestNG data provider to iterate data from a
&lt;br&gt;&amp;gt; &amp;gt; data file. But I always get the following type case exception. Can
&lt;br&gt;&amp;gt; &amp;gt; someone help in this issue? I am using TestNG 5.8/5.9.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;   [testng] Exception in thread &amp;quot;main&amp;quot; java.lang.ClassCastException:
&lt;br&gt;&amp;gt; &amp;gt; java.lang.String
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.internal.Invoker.invokeTestMethods
&lt;br&gt;&amp;gt; &amp;gt; (Invoker.java:952)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at
&lt;br&gt;&amp;gt; &amp;gt; org.testng.internal.TestMethodWorker.invokeTestMethods
&lt;br&gt;&amp;gt; &amp;gt; (TestMethodWorker.java:126)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.internal.TestMethodWorker.run
&lt;br&gt;&amp;gt; &amp;gt; (TestMethodWorker.java:110)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:
&lt;br&gt;&amp;gt; &amp;gt; 721)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestRunner.privateRun(TestRunner.java:
&lt;br&gt;&amp;gt; &amp;gt; 591)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestRunner.run(TestRunner.java:485)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:
&lt;br&gt;&amp;gt; &amp;gt; 332)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.SuiteRunner.runSequentially
&lt;br&gt;&amp;gt; &amp;gt; (SuiteRunner.java:327)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:
&lt;br&gt;&amp;gt; &amp;gt; 299)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestNG.createAndRunSuiteRunners
&lt;br&gt;&amp;gt; &amp;gt; (TestNG.java:864)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:830)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestNG.run(TestNG.java:748)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestNG.privateMain(TestNG.java:901)
&lt;br&gt;&amp;gt; &amp;gt;   [testng]     at org.testng.TestNG.main(TestNG.java:874)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here is my code:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; DataIterator.java:
&lt;br&gt;&amp;gt; &amp;gt; ================
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; public class DataIterator implements Iterator
&lt;br&gt;&amp;gt; &amp;gt; {
&lt;br&gt;&amp;gt; &amp;gt;        private int nextIndex = 0;
&lt;br&gt;&amp;gt; &amp;gt;        private String testDataFilePath = null;
&lt;br&gt;&amp;gt; &amp;gt;        private String[] testData = null;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        private boolean InitializeData()
&lt;br&gt;&amp;gt; &amp;gt;        {
&lt;br&gt;&amp;gt; &amp;gt;                // Test data already initialized
&lt;br&gt;&amp;gt; &amp;gt;                if(null != testData)
&lt;br&gt;&amp;gt; &amp;gt;                {
&lt;br&gt;&amp;gt; &amp;gt;                        return true;
&lt;br&gt;&amp;gt; &amp;gt;                }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                //
&lt;br&gt;&amp;gt; &amp;gt;                if(null == testDataFilePath)
&lt;br&gt;&amp;gt; &amp;gt;                {
&lt;br&gt;&amp;gt; &amp;gt;                        return false;
&lt;br&gt;&amp;gt; &amp;gt;                }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                // Try load the test data from the file
&lt;br&gt;&amp;gt; &amp;gt;                try
&lt;br&gt;&amp;gt; &amp;gt;                {
&lt;br&gt;&amp;gt; &amp;gt;                        testData =
&lt;br&gt;&amp;gt; &amp;gt; FileUtils.loadTextFromFile(testDataFilePath).split
&lt;br&gt;&amp;gt; &amp;gt; (&amp;quot;\n&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                        return true;
&lt;br&gt;&amp;gt; &amp;gt;                }
&lt;br&gt;&amp;gt; &amp;gt;                catch (Exception e)
&lt;br&gt;&amp;gt; &amp;gt;                {
&lt;br&gt;&amp;gt; &amp;gt;                        e.printStackTrace();
&lt;br&gt;&amp;gt; &amp;gt;                }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                return false;
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        public void SetTestDataPath(String filePath)
&lt;br&gt;&amp;gt; &amp;gt;        {
&lt;br&gt;&amp;gt; &amp;gt;                this.testDataFilePath = filePath;
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        public boolean hasNext()
&lt;br&gt;&amp;gt; &amp;gt;        {
&lt;br&gt;&amp;gt; &amp;gt;                InitializeDataFromFile();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                if(null != testData &amp;&amp; nextIndex &amp;lt; testData.length)
&lt;br&gt;&amp;gt; &amp;gt;                {
&lt;br&gt;&amp;gt; &amp;gt;                        return true;
&lt;br&gt;&amp;gt; &amp;gt;                }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                return false;
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        public Object next()
&lt;br&gt;&amp;gt; &amp;gt;        {
&lt;br&gt;&amp;gt; &amp;gt;                InitializeDataFromFile();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                if(null != testData &amp;&amp; nextIndex &amp;lt; testData.length)
&lt;br&gt;&amp;gt; &amp;gt;                {
&lt;br&gt;&amp;gt; &amp;gt;                        return testData[nextIndex++];
&lt;br&gt;&amp;gt; &amp;gt;                }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                return null;
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        public void remove() {}
&lt;br&gt;&amp;gt; &amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; SampleTest.java
&lt;br&gt;&amp;gt; &amp;gt; ==================
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; public class SampleTest
&lt;br&gt;&amp;gt; &amp;gt; {
&lt;br&gt;&amp;gt; &amp;gt;        protected String testDataPath = null;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        @DataProvider
&lt;br&gt;&amp;gt; &amp;gt;        public Iterator defaultDataProvider()
&lt;br&gt;&amp;gt; &amp;gt;        {
&lt;br&gt;&amp;gt; &amp;gt;                DataIterator dataIterator =  new DataIterator();
&lt;br&gt;&amp;gt; &amp;gt;                dataIterator.SetTestDataPath(testDataPath);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;                return dataIterator;
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        @BeforeTest
&lt;br&gt;&amp;gt; &amp;gt;        public void init()
&lt;br&gt;&amp;gt; &amp;gt;        {
&lt;br&gt;&amp;gt; &amp;gt;                testDataPath = &amp;quot;./TestData/test.csv&amp;quot;;
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        @Test (dataProvider = &amp;quot;defaultDataProvider&amp;quot;)
&lt;br&gt;&amp;gt; &amp;gt;        public void Test1(String testData)
&lt;br&gt;&amp;gt; &amp;gt;        throws SkipException, Exception
&lt;br&gt;&amp;gt; &amp;gt;        {
&lt;br&gt;&amp;gt; &amp;gt;                System.out.println(testData);
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt; &amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400199&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://groups.google.com/group/testng-users?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=&lt;/a&gt;.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26400199&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dataprovider-iterator-type-case-exception-tp26399926p26400199.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26399967</id>
	<title>Re: dataprovider iterator type case exception</title>
	<published>2009-11-17T15:45:15Z</published>
	<updated>2009-11-17T15:45:15Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">Each object that you return from next() should be an Object[], one element for each parameter of your test method (so in your case, an array of one String), are you sure that&amp;#39;s what you&amp;#39;re doing?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;

&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;

&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 17, 2009 at 3:40 PM, new TestNG user &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://yesheng.li&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yesheng.li&lt;/a&gt;@&lt;a href=&quot;http://gmail.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gmail.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Hi,&lt;br&gt;
&lt;br&gt;
I am trying to use the TestNG data provider to iterate data from a&lt;br&gt;
data file. But I always get the following type case exception. Can&lt;br&gt;
someone help in this issue? I am using TestNG 5.8/5.9.&lt;br&gt;
&lt;br&gt;
   [testng] Exception in thread &amp;quot;main&amp;quot; java.lang.ClassCastException:&lt;br&gt;
java.lang.String&lt;br&gt;
   [testng]     at org.testng.internal.Invoker.invokeTestMethods&lt;br&gt;
(Invoker.java:952)&lt;br&gt;
   [testng]     at&lt;br&gt;
org.testng.internal.TestMethodWorker.invokeTestMethods&lt;br&gt;
(TestMethodWorker.java:126)&lt;br&gt;
   [testng]     at org.testng.internal.TestMethodWorker.run&lt;br&gt;
(TestMethodWorker.java:110)&lt;br&gt;
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:&lt;br&gt;
721)&lt;br&gt;
   [testng]     at org.testng.TestRunner.privateRun(TestRunner.java:&lt;br&gt;
591)&lt;br&gt;
   [testng]     at org.testng.TestRunner.run(TestRunner.java:485)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:&lt;br&gt;
332)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runSequentially&lt;br&gt;
(SuiteRunner.java:327)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:&lt;br&gt;
299)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)&lt;br&gt;
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners&lt;br&gt;
(TestNG.java:864)&lt;br&gt;
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:830)&lt;br&gt;
   [testng]     at org.testng.TestNG.run(TestNG.java:748)&lt;br&gt;
   [testng]     at org.testng.TestNG.privateMain(TestNG.java:901)&lt;br&gt;
   [testng]     at org.testng.TestNG.main(TestNG.java:874)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Here is my code:&lt;br&gt;
&lt;br&gt;
DataIterator.java:&lt;br&gt;
================&lt;br&gt;
&lt;br&gt;
public class DataIterator implements Iterator&lt;br&gt;
{&lt;br&gt;
        private int nextIndex = 0;&lt;br&gt;
        private String testDataFilePath = null;&lt;br&gt;
        private String[] testData = null;&lt;br&gt;
&lt;br&gt;
        private boolean InitializeData()&lt;br&gt;
        {&lt;br&gt;
                // Test data already initialized&lt;br&gt;
                if(null != testData)&lt;br&gt;
                {&lt;br&gt;
                        return true;&lt;br&gt;
                }&lt;br&gt;
&lt;br&gt;
                //&lt;br&gt;
                if(null == testDataFilePath)&lt;br&gt;
                {&lt;br&gt;
                        return false;&lt;br&gt;
                }&lt;br&gt;
&lt;br&gt;
                // Try load the test data from the file&lt;br&gt;
                try&lt;br&gt;
                {&lt;br&gt;
                        testData = FileUtils.loadTextFromFile(testDataFilePath).split&lt;br&gt;
(&amp;quot;\n&amp;quot;);&lt;br&gt;
&lt;br&gt;
                        return true;&lt;br&gt;
                }&lt;br&gt;
                catch (Exception e)&lt;br&gt;
                {&lt;br&gt;
                        e.printStackTrace();&lt;br&gt;
                }&lt;br&gt;
&lt;br&gt;
                return false;&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        public void SetTestDataPath(String filePath)&lt;br&gt;
        {&lt;br&gt;
                this.testDataFilePath = filePath;&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        public boolean hasNext()&lt;br&gt;
        {&lt;br&gt;
                InitializeDataFromFile();&lt;br&gt;
&lt;br&gt;
                if(null != testData &amp;amp;&amp;amp; nextIndex &amp;lt; testData.length)&lt;br&gt;
                {&lt;br&gt;
                        return true;&lt;br&gt;
                }&lt;br&gt;
&lt;br&gt;
                return false;&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        public Object next()&lt;br&gt;
        {&lt;br&gt;
                InitializeDataFromFile();&lt;br&gt;
&lt;br&gt;
                if(null != testData &amp;amp;&amp;amp; nextIndex &amp;lt; testData.length)&lt;br&gt;
                {&lt;br&gt;
                        return testData[nextIndex++];&lt;br&gt;
                }&lt;br&gt;
&lt;br&gt;
                return null;&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        public void remove() {}&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
SampleTest.java&lt;br&gt;
==================&lt;br&gt;
&lt;br&gt;
public class SampleTest&lt;br&gt;
{&lt;br&gt;
        protected String testDataPath = null;&lt;br&gt;
&lt;br&gt;
        @DataProvider&lt;br&gt;
        public Iterator defaultDataProvider()&lt;br&gt;
        {&lt;br&gt;
                DataIterator dataIterator =  new DataIterator();&lt;br&gt;
                dataIterator.SetTestDataPath(testDataPath);&lt;br&gt;
&lt;br&gt;
                return dataIterator;&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        @BeforeTest&lt;br&gt;
        public void init()&lt;br&gt;
        {&lt;br&gt;
                testDataPath = &amp;quot;./TestData/test.csv&amp;quot;;&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        @Test (dataProvider = &amp;quot;defaultDataProvider&amp;quot;)&lt;br&gt;
        public void Test1(String testData)&lt;br&gt;
        throws SkipException, Exception&lt;br&gt;
        {&lt;br&gt;
                System.out.println(testData);&lt;br&gt;
        }&lt;br&gt;
}&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.&lt;br&gt;
To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26399967&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.&lt;br&gt;
For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;testng-users&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26399967&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.&lt;br /&gt;



For more options, visit this group at http://groups.google.com/group/testng-users?hl=.&lt;br /&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dataprovider-iterator-type-case-exception-tp26399926p26399967.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26399926</id>
	<title>dataprovider iterator type case exception</title>
	<published>2009-11-17T15:40:21Z</published>
	<updated>2009-11-17T15:40:21Z</updated>
	<author>
		<name>new TestNG user</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am trying to use the TestNG data provider to iterate data from a
&lt;br&gt;data file. But I always get the following type case exception. Can
&lt;br&gt;someone help in this issue? I am using TestNG 5.8/5.9.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] Exception in thread &amp;quot;main&amp;quot; java.lang.ClassCastException:
&lt;br&gt;java.lang.String
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.internal.Invoker.invokeTestMethods
&lt;br&gt;(Invoker.java:952)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at
&lt;br&gt;org.testng.internal.TestMethodWorker.invokeTestMethods
&lt;br&gt;(TestMethodWorker.java:126)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.internal.TestMethodWorker.run
&lt;br&gt;(TestMethodWorker.java:110)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestRunner.runWorkers(TestRunner.java:
&lt;br&gt;721)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestRunner.privateRun(TestRunner.java:
&lt;br&gt;591)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestRunner.run(TestRunner.java:485)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.runTest(SuiteRunner.java:
&lt;br&gt;332)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.runSequentially
&lt;br&gt;(SuiteRunner.java:327)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.privateRun(SuiteRunner.java:
&lt;br&gt;299)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.run(SuiteRunner.java:204)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.createAndRunSuiteRunners
&lt;br&gt;(TestNG.java:864)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.runSuitesLocally(TestNG.java:830)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.run(TestNG.java:748)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.privateMain(TestNG.java:901)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.main(TestNG.java:874)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Here is my code:
&lt;br&gt;&lt;br&gt;DataIterator.java:
&lt;br&gt;================
&lt;br&gt;&lt;br&gt;public class DataIterator implements Iterator
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private int nextIndex = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private String testDataFilePath = null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private String[] testData = null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private boolean InitializeData()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Test data already initialized
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(null != testData)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(null == testDataFilePath)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Try load the test data from the file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; testData = FileUtils.loadTextFromFile(testDataFilePath).split
&lt;br&gt;(&amp;quot;\n&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Exception e)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void SetTestDataPath(String filePath)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.testDataFilePath = filePath;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public boolean hasNext()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InitializeDataFromFile();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(null != testData &amp;&amp; nextIndex &amp;lt; testData.length)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Object next()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InitializeDataFromFile();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(null != testData &amp;&amp; nextIndex &amp;lt; testData.length)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return testData[nextIndex++];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return null;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void remove() {}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;SampleTest.java
&lt;br&gt;==================
&lt;br&gt;&lt;br&gt;public class SampleTest
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected String testDataPath = null;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @DataProvider
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Iterator defaultDataProvider()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DataIterator dataIterator = &amp;nbsp;new DataIterator();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataIterator.SetTestDataPath(testDataPath);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return dataIterator;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @BeforeTest
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void init()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; testDataPath = &amp;quot;./TestData/test.csv&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Test (dataProvider = &amp;quot;defaultDataProvider&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void Test1(String testData)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throws SkipException, Exception
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(testData);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26399926&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dataprovider-iterator-type-case-exception-tp26399926p26399926.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26399431</id>
	<title>Eclipse plugin on 3.5.1 x64 fails</title>
	<published>2009-11-17T14:59:28Z</published>
	<updated>2009-11-17T14:59:28Z</updated>
	<author>
		<name>BrianT-4</name>
	</author>
	<content type="html">I just installed Eclipse 3.5.1 x64 on a vista 64bit machine. Eclipse
&lt;br&gt;is launched with jdk1.6.0_17_64bit JVM. I'm trying to install the
&lt;br&gt;TestNG plugin (ver 5.9.05 from &lt;a href=&quot;http://beust.com/eclipse&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://beust.com/eclipse&lt;/a&gt;) for an
&lt;br&gt;upcoming training session, but the plugin install fails. &amp;nbsp;This thread
&lt;br&gt;looked like the best bet for help. &amp;nbsp;I tried the beta site at
&lt;br&gt;&lt;a href=&quot;http://beust.com/eclipse/beta&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://beust.com/eclipse/beta&lt;/a&gt;, but eclipse did not find a repository.
&lt;br&gt;Has anyone encountered the same issue? Here is the error I get...
&lt;br&gt;&lt;br&gt;An error occurred while installing the items
&lt;br&gt;&amp;nbsp; session context was:(profile=SDKProfile,
&lt;br&gt;phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install,
&lt;br&gt;operand=null --&amp;gt; [R]org.testng.eclipse 5.9.0.5,
&lt;br&gt;action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
&lt;br&gt;&amp;nbsp; String index out of range: 0
&lt;br&gt;&amp;nbsp; String index out of range: 0
&lt;br&gt;&lt;br&gt;&lt;br&gt;I contacted Cedric and he suggested I try this group.
&lt;br&gt;btw the plugin install works fine in Eclipse 3.4.2
&lt;br&gt;&lt;br&gt;Thanks, Brian
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26399431&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Eclipse-plugin-on-3.5.1-x64-fails-tp26399431p26399431.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26383221</id>
	<title>Re: &quot;cannot retrieve JUnit method&quot;</title>
	<published>2009-11-16T18:01:56Z</published>
	<updated>2009-11-16T18:01:56Z</updated>
	<author>
		<name>krishnan.1000</name>
	</author>
	<content type="html">&lt;a href=&quot;http://www.vitorrodrigues.com/blog/2009/07/10/debugging-ant-tasks-in-eclipse/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.vitorrodrigues.com/blog/2009/07/10/debugging-ant-tasks-in-eclipse/&lt;/a&gt;&lt;br&gt;&lt;br&gt;This link  will help you to debug ant task. Just make sure that to configure the source of jar file in Eclipse so that when the debugger starts to execute the code inside junit jars, eclipse will load the source in IDE&lt;br&gt;
&lt;br&gt;Kartik&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 16, 2009 at 2:58 PM, Todd Wells &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383221&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
It occurs once for each test class specified. I&amp;#39;m not really sure how to set up to debug the test runner, I&amp;#39;m just calling this via the ant task. &lt;br&gt;&lt;br&gt;What would the most straightforward way to do this? I use IDEA for my IDE.&lt;br&gt;


&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/16 Cédric Beust ♔ &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383221&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbeust@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


The exception is happening inside the JUnit runner, can you debug into this?&lt;br&gt;&lt;br&gt;Also, what class is it trying to run?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;




&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;




&lt;/div&gt;&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 16, 2009 at 2:44 PM, Todd Wells &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383221&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;


&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Any ideas on this?&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 13, 2009 at 4:37 PM, TTop &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383221&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;




&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
I&amp;#39;m trying to execute some JUnit 3.8 tests using the TestNG ant task,&lt;br&gt;
but it fails with an error:&lt;br&gt;
&lt;br&gt;
   [testng] Failure in JUnit mode for class&lt;br&gt;
com.theplatform.test.media.facade.functional.FormatRegistryTest: could&lt;br&gt;
not create/run JUnit test suite:&lt;br&gt;
   [testng] cannot retrieve JUnit method&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.runFailed&lt;br&gt;
(JUnitTestRunner.java:231)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.start&lt;br&gt;
(JUnitTestRunner.java:224)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.run&lt;br&gt;
(JUnitTestRunner.java:205)&lt;br&gt;
   [testng]     at org.testng.TestRunner$2.run(TestRunner.java:546)&lt;br&gt;
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:&lt;br&gt;
759)&lt;br&gt;
   [testng]     at org.testng.TestRunner.privateRunJUnit&lt;br&gt;
(TestRunner.java:558)&lt;br&gt;
   [testng]     at org.testng.TestRunner.run(TestRunner.java:483)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:&lt;br&gt;
332)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runSequentially&lt;br&gt;
(SuiteRunner.java:327)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:&lt;br&gt;
299)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)&lt;br&gt;
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners&lt;br&gt;
(TestNG.java:912)&lt;br&gt;
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)&lt;br&gt;
   [testng]     at org.testng.TestNG.run(TestNG.java:784)&lt;br&gt;
   [testng]     at org.testng.TestNG.privateMain(TestNG.java:949)&lt;br&gt;
   [testng]     at org.testng.TestNG.main(TestNG.java:922)&lt;br&gt;
&lt;br&gt;
I&amp;#39;m hoping somebody can give me an idea of what&amp;#39;s wrong... I&amp;#39;m new to&lt;br&gt;
TestNG.&lt;br&gt;
&lt;br&gt;
My testng.xml file looks like this:&lt;br&gt;
&lt;br&gt;
&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot; &amp;gt;&lt;br&gt;
&amp;lt;suite name=&amp;quot;Suite1&amp;quot; verbose=&amp;quot;1&amp;quot; parallel=&amp;quot;classes&amp;quot; thread-count=&amp;quot;5&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;test name=&amp;quot;mediafunc&amp;quot; junit=&amp;quot;true&amp;quot;&amp;gt;&lt;br&gt;
          &amp;lt;classes&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.AdminTagsTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.CategoryTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.MediaDateTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.FormatRegistryTest&amp;quot;/&lt;br&gt;
&amp;gt;&lt;br&gt;
          &amp;lt;/classes&amp;gt;&lt;br&gt;
 &amp;lt;/test&amp;gt;&lt;br&gt;
&amp;lt;/suite&amp;gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383221&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383221&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22cannot-retrieve-JUnit-method%22-tp26346299p26383221.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26381324</id>
	<title>Re: &quot;cannot retrieve JUnit method&quot;</title>
	<published>2009-11-16T14:58:09Z</published>
	<updated>2009-11-16T14:58:09Z</updated>
	<author>
		<name>TTop-2</name>
	</author>
	<content type="html">It occurs once for each test class specified. I&amp;#39;m not really sure how to set up to debug the test runner, I&amp;#39;m just calling this via the ant task. &lt;br&gt;&lt;br&gt;What would the most straightforward way to do this? I use IDEA for my IDE.&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/16 Cédric Beust ♔ &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381324&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbeust@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

The exception is happening inside the JUnit runner, can you debug into this?&lt;br&gt;&lt;br&gt;Also, what class is it trying to run?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;



&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;



&lt;/div&gt;&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 16, 2009 at 2:44 PM, Todd Wells &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381324&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Any ideas on this?&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 13, 2009 at 4:37 PM, TTop &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381324&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;



&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
I&amp;#39;m trying to execute some JUnit 3.8 tests using the TestNG ant task,&lt;br&gt;
but it fails with an error:&lt;br&gt;
&lt;br&gt;
   [testng] Failure in JUnit mode for class&lt;br&gt;
com.theplatform.test.media.facade.functional.FormatRegistryTest: could&lt;br&gt;
not create/run JUnit test suite:&lt;br&gt;
   [testng] cannot retrieve JUnit method&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.runFailed&lt;br&gt;
(JUnitTestRunner.java:231)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.start&lt;br&gt;
(JUnitTestRunner.java:224)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.run&lt;br&gt;
(JUnitTestRunner.java:205)&lt;br&gt;
   [testng]     at org.testng.TestRunner$2.run(TestRunner.java:546)&lt;br&gt;
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:&lt;br&gt;
759)&lt;br&gt;
   [testng]     at org.testng.TestRunner.privateRunJUnit&lt;br&gt;
(TestRunner.java:558)&lt;br&gt;
   [testng]     at org.testng.TestRunner.run(TestRunner.java:483)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:&lt;br&gt;
332)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runSequentially&lt;br&gt;
(SuiteRunner.java:327)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:&lt;br&gt;
299)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)&lt;br&gt;
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners&lt;br&gt;
(TestNG.java:912)&lt;br&gt;
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)&lt;br&gt;
   [testng]     at org.testng.TestNG.run(TestNG.java:784)&lt;br&gt;
   [testng]     at org.testng.TestNG.privateMain(TestNG.java:949)&lt;br&gt;
   [testng]     at org.testng.TestNG.main(TestNG.java:922)&lt;br&gt;
&lt;br&gt;
I&amp;#39;m hoping somebody can give me an idea of what&amp;#39;s wrong... I&amp;#39;m new to&lt;br&gt;
TestNG.&lt;br&gt;
&lt;br&gt;
My testng.xml file looks like this:&lt;br&gt;
&lt;br&gt;
&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot; &amp;gt;&lt;br&gt;
&amp;lt;suite name=&amp;quot;Suite1&amp;quot; verbose=&amp;quot;1&amp;quot; parallel=&amp;quot;classes&amp;quot; thread-count=&amp;quot;5&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;test name=&amp;quot;mediafunc&amp;quot; junit=&amp;quot;true&amp;quot;&amp;gt;&lt;br&gt;
          &amp;lt;classes&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.AdminTagsTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.CategoryTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.MediaDateTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.FormatRegistryTest&amp;quot;/&lt;br&gt;
&amp;gt;&lt;br&gt;
          &amp;lt;/classes&amp;gt;&lt;br&gt;
 &amp;lt;/test&amp;gt;&lt;br&gt;
&amp;lt;/suite&amp;gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381324&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381324&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22cannot-retrieve-JUnit-method%22-tp26346299p26381324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26381127</id>
	<title>Re: &quot;cannot retrieve JUnit method&quot;</title>
	<published>2009-11-16T14:47:15Z</published>
	<updated>2009-11-16T14:47:15Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">The exception is happening inside the JUnit runner, can you debug into this?&lt;br&gt;&lt;br&gt;Also, what class is it trying to run?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;

&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;

&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 16, 2009 at 2:44 PM, Todd Wells &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381127&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Any ideas on this?&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 13, 2009 at 4:37 PM, TTop &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381127&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
I&amp;#39;m trying to execute some JUnit 3.8 tests using the TestNG ant task,&lt;br&gt;
but it fails with an error:&lt;br&gt;
&lt;br&gt;
   [testng] Failure in JUnit mode for class&lt;br&gt;
com.theplatform.test.media.facade.functional.FormatRegistryTest: could&lt;br&gt;
not create/run JUnit test suite:&lt;br&gt;
   [testng] cannot retrieve JUnit method&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.runFailed&lt;br&gt;
(JUnitTestRunner.java:231)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.start&lt;br&gt;
(JUnitTestRunner.java:224)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.run&lt;br&gt;
(JUnitTestRunner.java:205)&lt;br&gt;
   [testng]     at org.testng.TestRunner$2.run(TestRunner.java:546)&lt;br&gt;
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:&lt;br&gt;
759)&lt;br&gt;
   [testng]     at org.testng.TestRunner.privateRunJUnit&lt;br&gt;
(TestRunner.java:558)&lt;br&gt;
   [testng]     at org.testng.TestRunner.run(TestRunner.java:483)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:&lt;br&gt;
332)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runSequentially&lt;br&gt;
(SuiteRunner.java:327)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:&lt;br&gt;
299)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)&lt;br&gt;
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners&lt;br&gt;
(TestNG.java:912)&lt;br&gt;
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)&lt;br&gt;
   [testng]     at org.testng.TestNG.run(TestNG.java:784)&lt;br&gt;
   [testng]     at org.testng.TestNG.privateMain(TestNG.java:949)&lt;br&gt;
   [testng]     at org.testng.TestNG.main(TestNG.java:922)&lt;br&gt;
&lt;br&gt;
I&amp;#39;m hoping somebody can give me an idea of what&amp;#39;s wrong... I&amp;#39;m new to&lt;br&gt;
TestNG.&lt;br&gt;
&lt;br&gt;
My testng.xml file looks like this:&lt;br&gt;
&lt;br&gt;
&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot; &amp;gt;&lt;br&gt;
&amp;lt;suite name=&amp;quot;Suite1&amp;quot; verbose=&amp;quot;1&amp;quot; parallel=&amp;quot;classes&amp;quot; thread-count=&amp;quot;5&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;test name=&amp;quot;mediafunc&amp;quot; junit=&amp;quot;true&amp;quot;&amp;gt;&lt;br&gt;
          &amp;lt;classes&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.AdminTagsTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.CategoryTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.MediaDateTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.FormatRegistryTest&amp;quot;/&lt;br&gt;
&amp;gt;&lt;br&gt;
          &amp;lt;/classes&amp;gt;&lt;br&gt;
 &amp;lt;/test&amp;gt;&lt;br&gt;
&amp;lt;/suite&amp;gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;
&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381127&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381127&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22cannot-retrieve-JUnit-method%22-tp26346299p26381127.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26381091</id>
	<title>Re: &quot;cannot retrieve JUnit method&quot;</title>
	<published>2009-11-16T14:44:34Z</published>
	<updated>2009-11-16T14:44:34Z</updated>
	<author>
		<name>TTop-2</name>
	</author>
	<content type="html">Any ideas on this?&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 13, 2009 at 4:37 PM, TTop &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ttopwells@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
I&amp;#39;m trying to execute some JUnit 3.8 tests using the TestNG ant task,&lt;br&gt;
but it fails with an error:&lt;br&gt;
&lt;br&gt;
   [testng] Failure in JUnit mode for class&lt;br&gt;
com.theplatform.test.media.facade.functional.FormatRegistryTest: could&lt;br&gt;
not create/run JUnit test suite:&lt;br&gt;
   [testng] cannot retrieve JUnit method&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.runFailed&lt;br&gt;
(JUnitTestRunner.java:231)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.start&lt;br&gt;
(JUnitTestRunner.java:224)&lt;br&gt;
   [testng]     at org.testng.junit.JUnitTestRunner.run&lt;br&gt;
(JUnitTestRunner.java:205)&lt;br&gt;
   [testng]     at org.testng.TestRunner$2.run(TestRunner.java:546)&lt;br&gt;
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:&lt;br&gt;
759)&lt;br&gt;
   [testng]     at org.testng.TestRunner.privateRunJUnit&lt;br&gt;
(TestRunner.java:558)&lt;br&gt;
   [testng]     at org.testng.TestRunner.run(TestRunner.java:483)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:&lt;br&gt;
332)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.runSequentially&lt;br&gt;
(SuiteRunner.java:327)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:&lt;br&gt;
299)&lt;br&gt;
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)&lt;br&gt;
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners&lt;br&gt;
(TestNG.java:912)&lt;br&gt;
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)&lt;br&gt;
   [testng]     at org.testng.TestNG.run(TestNG.java:784)&lt;br&gt;
   [testng]     at org.testng.TestNG.privateMain(TestNG.java:949)&lt;br&gt;
   [testng]     at org.testng.TestNG.main(TestNG.java:922)&lt;br&gt;
&lt;br&gt;
I&amp;#39;m hoping somebody can give me an idea of what&amp;#39;s wrong... I&amp;#39;m new to&lt;br&gt;
TestNG.&lt;br&gt;
&lt;br&gt;
My testng.xml file looks like this:&lt;br&gt;
&lt;br&gt;
&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot; &amp;gt;&lt;br&gt;
&amp;lt;suite name=&amp;quot;Suite1&amp;quot; verbose=&amp;quot;1&amp;quot; parallel=&amp;quot;classes&amp;quot; thread-count=&amp;quot;5&amp;quot;&amp;gt;&lt;br&gt;
  &amp;lt;test name=&amp;quot;mediafunc&amp;quot; junit=&amp;quot;true&amp;quot;&amp;gt;&lt;br&gt;
          &amp;lt;classes&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.AdminTagsTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.CategoryTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.MediaDateTest&amp;quot;/&amp;gt;&lt;br&gt;
                  &amp;lt;class&lt;br&gt;
name=&amp;quot;com.theplatform.test.media.facade.functional.FormatRegistryTest&amp;quot;/&lt;br&gt;
&amp;gt;&lt;br&gt;
          &amp;lt;/classes&amp;gt;&lt;br&gt;
 &amp;lt;/test&amp;gt;&lt;br&gt;
&amp;lt;/suite&amp;gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381091&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26381091&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22cannot-retrieve-JUnit-method%22-tp26346299p26381091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26379980</id>
	<title>Re: Eclipse template?</title>
	<published>2009-11-16T13:37:11Z</published>
	<updated>2009-11-16T13:37:11Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 16, 2009 at 1:34 PM, selliott &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379980&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steven.s.elliott@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
It was.  I was actually looking for a basic template (with imports and&lt;br&gt;
a Before/After Test skeleton) which I could then extend because I have&lt;br&gt;
boilerplate in a lot of my tests for Before/After methods.&lt;br&gt;
&lt;br&gt;
Right now I create the template as JUnit then use the TestNG plugin to&lt;br&gt;
convert it....;(&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Yes, definitely not optimal...&lt;br&gt;&lt;br&gt;A template would also help beginners with the common mistake of using @BeforeTest instead of @BeforeMethod...&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;

&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;

&lt;/div&gt;&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379980&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379980&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Eclipse-template--tp26375337p26379980.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26379936</id>
	<title>Re: Eclipse template?</title>
	<published>2009-11-16T13:34:55Z</published>
	<updated>2009-11-16T13:34:55Z</updated>
	<author>
		<name>Steven Elliott-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 16, 2:06 pm, Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379936&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbe...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 16, 2009 at 8:51 AM, selliott &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379936&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steven.s.elli...@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm probably missing something obvious but when I want to create a new
&lt;br&gt;&amp;gt; &amp;gt; TestNG test in Eclipse I right click on the package to create New&amp;gt; but
&lt;br&gt;&amp;gt; &amp;gt; I only see the JUnit template selection (even from Other).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Any hints on how to load a TestNG template into the Eclipse editor?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I never really implemented this because I didn't think that a template would
&lt;br&gt;&amp;gt; be that useful, but I'm open to the idea.  I'm thinking such a template
&lt;br&gt;&amp;gt; would contain a few imports and a class with one empty @BeforeMethod and one
&lt;br&gt;&amp;gt; @Test method.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is that what you had in mind?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; ***Cédric
&lt;br&gt;&amp;gt; *
&lt;/div&gt;&lt;br&gt;It was. &amp;nbsp;I was actually looking for a basic template (with imports and
&lt;br&gt;a Before/After Test skeleton) which I could then extend because I have
&lt;br&gt;boilerplate in a lot of my tests for Before/After methods.
&lt;br&gt;&lt;br&gt;Right now I create the template as JUnit then use the TestNG plugin to
&lt;br&gt;convert it....;(
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379936&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379936&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Eclipse-template--tp26375337p26379936.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26379480</id>
	<title>Re: Eclipse template?</title>
	<published>2009-11-16T13:06:42Z</published>
	<updated>2009-11-16T13:06:42Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 16, 2009 at 8:51 AM, selliott &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379480&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steven.s.elliott@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
I&amp;#39;m probably missing something obvious but when I want to create a new&lt;br&gt;
TestNG test in Eclipse I right click on the package to create New&amp;gt; but&lt;br&gt;
I only see the JUnit template selection (even from Other).&lt;br&gt;
&lt;br&gt;
Any hints on how to load a TestNG template into the Eclipse editor?&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;I never really implemented this because I didn&amp;#39;t think that a template would be that useful, but I&amp;#39;m open to the idea.  I&amp;#39;m thinking such a template would contain a few imports and a class with one empty @BeforeMethod and one @Test method.&lt;br&gt;

&lt;br&gt;Is that what you had in mind?&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-- &lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;

&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;

&lt;/div&gt;&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379480&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379480&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Eclipse-template--tp26375337p26379480.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26379329</id>
	<title>Re: Eclipse template?</title>
	<published>2009-11-16T12:56:27Z</published>
	<updated>2009-11-16T12:56:27Z</updated>
	<author>
		<name>Steven Elliott-2</name>
	</author>
	<content type="html">&lt;br&gt;Thanks Kartik for the reply. &amp;nbsp;Maybe I wasn't very good at explaining
&lt;br&gt;what I meant by a template. &amp;nbsp;The templates I am referring to appear
&lt;br&gt;when you right click to create a New Java class or Enum or Interface
&lt;br&gt;or... &amp;nbsp;The result of the action is that a preconfigured template will
&lt;br&gt;appear in the editor with the package and name you have given it.
&lt;br&gt;&lt;br&gt;I have read up on Eclipse templates and from what I can tell TestNG
&lt;br&gt;does not have any installed but they do not appear to be difficult to
&lt;br&gt;create.
&lt;br&gt;&lt;br&gt;Run or Run As... work just fine for me.
&lt;br&gt;&lt;br&gt;On Nov 16, 12:25 pm, Karthik Krishnan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379329&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;krishnan.1...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; You can configure TestNG test as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Run - &amp;gt; Run -&amp;gt; Select TestNG launch settings.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kartik
&lt;br&gt;&amp;gt; On Mon, Nov 16, 2009 at 8:51 AM, selliott &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379329&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steven.s.elli...@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm probably missing something obvious but when I want to create a new
&lt;br&gt;&amp;gt; &amp;gt; TestNG test in Eclipse I right click on the package to create New&amp;gt; but
&lt;br&gt;&amp;gt; &amp;gt; I only see the JUnit template selection (even from Other).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Any hints on how to load a TestNG template into the Eclipse editor?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; thx.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379329&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26379329&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Eclipse-template--tp26375337p26379329.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26377883</id>
	<title>Re: Eclipse template?</title>
	<published>2009-11-16T11:25:06Z</published>
	<updated>2009-11-16T11:25:06Z</updated>
	<author>
		<name>krishnan.1000</name>
	</author>
	<content type="html">You can configure TestNG test as follows:&lt;br&gt;&lt;br&gt;Run - &amp;gt; Run -&amp;gt; Select TestNG launch settings.&lt;br&gt;&lt;br&gt;Kartik&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 16, 2009 at 8:51 AM, selliott &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26377883&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steven.s.elliott@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
I&amp;#39;m probably missing something obvious but when I want to create a new&lt;br&gt;
TestNG test in Eclipse I right click on the package to create New&amp;gt; but&lt;br&gt;
I only see the JUnit template selection (even from Other).&lt;br&gt;
&lt;br&gt;
Any hints on how to load a TestNG template into the Eclipse editor?&lt;br&gt;
&lt;br&gt;
thx.&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26377883&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26377883&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Eclipse-template--tp26375337p26377883.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26375337</id>
	<title>Eclipse template?</title>
	<published>2009-11-16T08:51:50Z</published>
	<updated>2009-11-16T08:51:50Z</updated>
	<author>
		<name>Steven Elliott-2</name>
	</author>
	<content type="html">&lt;br&gt;I'm probably missing something obvious but when I want to create a new
&lt;br&gt;TestNG test in Eclipse I right click on the package to create New&amp;gt; but
&lt;br&gt;I only see the JUnit template selection (even from Other).
&lt;br&gt;&lt;br&gt;Any hints on how to load a TestNG template into the Eclipse editor?
&lt;br&gt;&lt;br&gt;thx.
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26375337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26375337&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Eclipse-template--tp26375337p26375337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26346299</id>
	<title>&quot;cannot retrieve JUnit method&quot;</title>
	<published>2009-11-13T16:37:30Z</published>
	<updated>2009-11-13T16:37:30Z</updated>
	<author>
		<name>TTop-2</name>
	</author>
	<content type="html">&lt;br&gt;I'm trying to execute some JUnit 3.8 tests using the TestNG ant task,
&lt;br&gt;but it fails with an error:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] Failure in JUnit mode for class
&lt;br&gt;com.theplatform.test.media.facade.functional.FormatRegistryTest: could
&lt;br&gt;not create/run JUnit test suite:
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] cannot retrieve JUnit method
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.junit.JUnitTestRunner.runFailed
&lt;br&gt;(JUnitTestRunner.java:231)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.junit.JUnitTestRunner.start
&lt;br&gt;(JUnitTestRunner.java:224)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.junit.JUnitTestRunner.run
&lt;br&gt;(JUnitTestRunner.java:205)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestRunner$2.run(TestRunner.java:546)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestRunner.runWorkers(TestRunner.java:
&lt;br&gt;759)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestRunner.privateRunJUnit
&lt;br&gt;(TestRunner.java:558)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestRunner.run(TestRunner.java:483)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.runTest(SuiteRunner.java:
&lt;br&gt;332)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.runSequentially
&lt;br&gt;(SuiteRunner.java:327)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.privateRun(SuiteRunner.java:
&lt;br&gt;299)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.SuiteRunner.run(SuiteRunner.java:204)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.createAndRunSuiteRunners
&lt;br&gt;(TestNG.java:912)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.run(TestNG.java:784)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.privateMain(TestNG.java:949)
&lt;br&gt;&amp;nbsp; &amp;nbsp;[testng] &amp;nbsp; &amp;nbsp; at org.testng.TestNG.main(TestNG.java:922)
&lt;br&gt;&lt;br&gt;I'm hoping somebody can give me an idea of what's wrong... I'm new to
&lt;br&gt;TestNG.
&lt;br&gt;&lt;br&gt;My testng.xml file looks like this:
&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot; &amp;gt;
&lt;br&gt;&amp;lt;suite name=&amp;quot;Suite1&amp;quot; verbose=&amp;quot;1&amp;quot; parallel=&amp;quot;classes&amp;quot; thread-count=&amp;quot;5&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;test name=&amp;quot;mediafunc&amp;quot; junit=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;classes&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class
&lt;br&gt;name=&amp;quot;com.theplatform.test.media.facade.functional.AdminTagsTest&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class
&lt;br&gt;name=&amp;quot;com.theplatform.test.media.facade.functional.CategoryTest&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class
&lt;br&gt;name=&amp;quot;com.theplatform.test.media.facade.functional.MediaDateTest&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class
&lt;br&gt;name=&amp;quot;com.theplatform.test.media.facade.functional.FormatRegistryTest&amp;quot;/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/classes&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;/test&amp;gt;
&lt;br&gt;&amp;lt;/suite&amp;gt;
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26346299&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26346299&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%22cannot-retrieve-JUnit-method%22-tp26346299p26346299.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26337093</id>
	<title>Debugging TestNG tests with Maven &amp; Intellij IDEA</title>
	<published>2009-11-13T06:06:28Z</published>
	<updated>2009-11-13T06:06:28Z</updated>
	<author>
		<name>S M Humayun</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I'm having issues debugging a TestNG test with Spring, Maven and
&lt;br&gt;Intellij IDEA. The debugging thread doesn't stop at breakpoints. Is
&lt;br&gt;there any science involved in configuring debug options to make TestNG
&lt;br&gt;tests debuggable with a project that uses Spring, Maven and Intellij
&lt;br&gt;IDEA?
&lt;br&gt;&lt;br&gt;-----------------------------------------------
&lt;br&gt;S M Humayun
&lt;br&gt;Software Architect, IBL Group
&lt;br&gt;-----------------------------------------------
&lt;br&gt;Cell : 92.321.8707783
&lt;br&gt;Email (Official) : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337093&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun@...&lt;/a&gt;
&lt;br&gt;Email (Personal) : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337093&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun@...&lt;/a&gt;
&lt;br&gt;Google Talk : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337093&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun@...&lt;/a&gt;
&lt;br&gt;MSN : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337093&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun2001@...&lt;/a&gt;
&lt;br&gt;Yahoo : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337093&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;humayun_reports@...&lt;/a&gt;
&lt;br&gt;Skype : smhumayun
&lt;br&gt;AIM : syedmohdhumayun
&lt;br&gt;Blog : &lt;a href=&quot;http://smhumayun.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://smhumayun.blogspot.com&lt;/a&gt;&lt;br&gt;LinkedIn : &lt;a href=&quot;http://www.linkedin.com/in/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/smhumayun&lt;/a&gt;&lt;br&gt;Facebook : &lt;a href=&quot;http://www.facebook.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.facebook.com/smhumayun&lt;/a&gt;&lt;br&gt;Twitter : &lt;a href=&quot;http://twitter.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/smhumayun&lt;/a&gt;&lt;br&gt;-----------------------------------------------
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337093&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26337093&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Debugging-TestNG-tests-with-Maven---Intellij-IDEA-tp26337093p26337093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292988</id>
	<title>Re: Method dependency issues</title>
	<published>2009-11-10T15:02:03Z</published>
	<updated>2009-11-10T15:02:03Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 10, 2009 at 2:58 PM, Lidia &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292988&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lidiam@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
After removing @Test annotation for setUp and dependency of tests on&lt;br&gt;
setUp, it all works fine.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Glad to hear it!&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-- &lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;

&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;

&lt;/div&gt;&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292988&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292988&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Method-dependency-issues-tp26241622p26292988.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292929</id>
	<title>Re: Method dependency issues</title>
	<published>2009-11-10T14:58:58Z</published>
	<updated>2009-11-10T14:58:58Z</updated>
	<author>
		<name>LidiaM</name>
	</author>
	<content type="html">&lt;br&gt;After removing @Test annotation for setUp and dependency of tests on
&lt;br&gt;setUp, it all works fine.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;Lidia
&lt;br&gt;&lt;br&gt;On Nov 6, 8:04 pm, Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292929&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbe...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Lidia,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You should not be mixing @Test with @AfterSuite, you should break down this
&lt;br&gt;&amp;gt; code in two categories (which one is really a test and which one is used to
&lt;br&gt;&amp;gt; tear down your test) and put these in separate methods.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can you do this and post your updated code if you're still having problems?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Cedric
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Fri, Nov 6, 2009 at 6:35 PM, Lidia &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292929&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lid...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hello
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have some basic questions related to method dependency.  I have the
&lt;br&gt;&amp;gt; &amp;gt; following test:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; @Test (groups = {&amp;quot;jsf&amp;quot;, &amp;quot;ajax&amp;quot;, &amp;quot;crossbrowser&amp;quot;})
&lt;br&gt;&amp;gt; &amp;gt; public class TestCrossbrowserUpdateAttr extends SeleneseTestCase {
&lt;br&gt;&amp;gt; &amp;gt;  (...)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;    @BeforeSuite(alwaysRun = true)
&lt;br&gt;&amp;gt; &amp;gt;    @Test
&lt;br&gt;&amp;gt; &amp;gt;        public void setUp(){
&lt;br&gt;&amp;gt; &amp;gt;        (start selenium here, open start page, etc)
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        @Test (dependsOnMethods = {&amp;quot;setUp&amp;quot;})
&lt;br&gt;&amp;gt; &amp;gt;        public void test1() throws Exception {
&lt;br&gt;&amp;gt; &amp;gt;        (test logic)
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        @Test (dependsOnMethods = {&amp;quot;test1&amp;quot;},
&lt;br&gt;&amp;gt; &amp;gt;        alwaysRun = true)
&lt;br&gt;&amp;gt; &amp;gt;        public void test2() throws Exception{
&lt;br&gt;&amp;gt; &amp;gt;        (test logic)
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;        @AfterSuite(alwaysRun = true)
&lt;br&gt;&amp;gt; &amp;gt;        @Test (dependsOnMethods = {&amp;quot;test2&amp;quot;})
&lt;br&gt;&amp;gt; &amp;gt;        public void stopTest() {
&lt;br&gt;&amp;gt; &amp;gt;        (stop selenium, closes browser windows, etc)
&lt;br&gt;&amp;gt; &amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The problem with this design is that when test2 fails, stopTest is
&lt;br&gt;&amp;gt; &amp;gt; skipped.  I thought that with alwaysRun=true this method would always
&lt;br&gt;&amp;gt; &amp;gt; get called.  How can I assure that it is always called?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have another test class, where I have about 8 tests that are
&lt;br&gt;&amp;gt; &amp;gt; independent of each other, and thus I made all of them dependent only
&lt;br&gt;&amp;gt; &amp;gt; on setUp().  However, I am not certain how I can tie in the stopTest()
&lt;br&gt;&amp;gt; &amp;gt; method.  It does not depend on any other method in particular but
&lt;br&gt;&amp;gt; &amp;gt; needs to be executed once all the test methods complete.  What's the
&lt;br&gt;&amp;gt; &amp;gt; correct approach here?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks
&lt;br&gt;&amp;gt; &amp;gt; Lidia
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; ***Cédric
&lt;br&gt;&amp;gt; *
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292929&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26292929&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Method-dependency-issues-tp26241622p26292929.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26292009</id>
	<title>Change groups annotation for a method at runtime for reporting purposes</title>
	<published>2009-11-10T13:59:21Z</published>
	<updated>2009-11-10T13:59:21Z</updated>
	<author>
		<name>newguy09</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;I have a factory method in class A that instantiates/runs another class B, say 3 times based on values determined at run-time. Class B contains the following method -
&lt;br&gt;&lt;br&gt;/**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* @testng.test groups=&amp;quot;cli&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void testService() throws Exception {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;For easy reporting purposes, I want to create a different group everytime the class B is called.
&lt;br&gt;Is there a way to do this?
&lt;br&gt;&lt;br&gt;I tried similar to following - but the change is not reflected in the reports generated. It still shows group as &amp;quot;cli&amp;quot; and not &amp;quot;newvalue&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;m_finder = new JDK14AnnotationFinder(new DefaultAnnotationTransformer());
&lt;br&gt;Method method = Service.class.getMethod(&amp;quot;testService&amp;quot;, null);
&lt;br&gt;ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
&lt;br&gt;test1.setGroups(new String[] {&amp;quot;newvalue&amp;quot;});
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Change-groups-annotation-for-a-method-at-runtime-for-reporting-purposes-tp26292009p26292009.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26279381</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-09T23:30:35Z</published>
	<updated>2009-11-09T23:30:35Z</updated>
	<author>
		<name>Mats-12</name>
	</author>
	<content type="html">Ok I will try to explain what I&amp;#39;m trying to do, step by step.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;* Check out the trunk&lt;/div&gt;&lt;div&gt;* Import project in eclipse&lt;/div&gt;&lt;div&gt;* Testing plugin by launching a separate application&lt;/div&gt;&lt;div&gt;* Create a project with a class and corresponding test class&lt;/div&gt;
&lt;div&gt;* Right-click on test class and choose &amp;quot;Run as-&amp;gt;TestNg Test&amp;quot;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;This results in this warning:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;WARNING: No test suite found.  Nothing to run&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
2009/11/9 Cédric Beust ♔ &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279381&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbeust@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Mon, Nov 9, 2009 at 12:13 PM, Mats Nilsson &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279381&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mansica@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;

Because I cant get the trunk to work. It complains about not finding a suite file. I get that behaviour straight out of the checked out trunk(without modification) and independent if I choose &amp;quot;Run as test&amp;quot; or creates a suite file and &amp;quot;Run suite&amp;quot;.&lt;br&gt;


I guess it can be because of TestNG and not because of the plugin but I&amp;#39;m not sure.&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;Can you be more specific and explain your steps to reproduce this
problem?  I&amp;#39;m not sure if you are talking about building the plug-in,
or running it in PDE, or...&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;font color=&quot;#888888&quot;&gt;Cédric 
&lt;/font&gt;&lt;br&gt;
&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279381&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26279381&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26279381.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26276566</id>
	<title>Re: Unable to execute &lt;package&gt; when testing in  container = WebLogic</title>
	<published>2009-11-09T17:01:59Z</published>
	<updated>2009-11-09T17:01:59Z</updated>
	<author>
		<name>Edderd</name>
	</author>
	<content type="html">I don&amp;#39;t know...I&amp;#39;m using maven to do all the heavy lifting of creating the ear file. I&amp;#39;ll see if I can find a way to add additional classpath entries using maven.&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I can execute this kinds of suites no problem:&lt;/div&gt;
&lt;div&gt;&lt;div&gt;&amp;lt;suite name=&amp;quot;Test Suite&amp;quot; verbose=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;classes&amp;gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;  &amp;lt;class name=&amp;quot;com.comcast.neto.qa.ws.testng.DemoTest&amp;quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;   &amp;lt;methods&amp;gt;&lt;/div&gt;
&lt;div&gt; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;     &amp;lt;include name=&amp;quot;testMethod1&amp;quot; /&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;   &amp;lt;/methods&amp;gt;&lt;/div&gt;&lt;div&gt;      &amp;lt;/classes&amp;gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/suite&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/9 Cédric Beust ♔ &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276566&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbeust@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;This looks like a classpath problem.  I haven&amp;#39;t used an ear file in a while but can&amp;#39;t you specify additional classpath entries in its MANIFEST or something like that?&lt;br&gt;
&lt;br&gt;-- &lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;span style=&quot;color:rgb(51, 102, 255)&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color:rgb(255, 204, 204);color:rgb(0, 0, 153)&quot;&gt;&lt;b style=&quot;background-color:rgb(255, 255, 255)&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;

&lt;/i&gt;&lt;span style=&quot;background-color:rgb(255, 204, 204);color:rgb(0, 0, 153)&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color:rgb(153, 51, 153);color:rgb(0, 0, 153)&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color:rgb(255, 255, 255);color:rgb(0, 0, 153)&quot;&gt;&lt;/span&gt;&lt;br&gt;


&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 4:37 PM, Ed Young &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276566&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ejy@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex&quot;&gt;

&lt;div&gt;Why would in-container execution fail only &amp;lt;package&amp;gt; elements?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;I&amp;#39;m programmatically executing testng.xml files by passing them into org.testng.xml.Parser.Parser(InputStream).  When I deploy my in container tests to WebLogic, I can execute just about any testng.xml suite except for those that specify a package. &lt;div&gt;



&lt;br&gt;&lt;/div&gt;&lt;div&gt;For example: &lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;suite name=&amp;quot;Test Suite&amp;quot; verbose=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;
 &lt;span style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;packages&amp;gt;&lt;/div&gt;&lt;div&gt;      &amp;lt;package name=&amp;quot;com.mycompany.neto.qa.ws.testng&amp;quot;/&amp;gt; &lt;span style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;    &amp;lt;/packages&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/suite&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Executes fine when I run it from eclipse, but when I build it into an ear, and deploy it to WebLogic, it apparently can&amp;#39;t find any classes to execute. The test-results look like this&lt;/div&gt;



&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;testng-results&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;reporter-output&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;/reporter-output&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;suite name=&amp;quot;Test Suite&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;groups&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/groups&amp;gt;&lt;/div&gt;



&lt;div&gt;    &amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;/suite&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/testng-results&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I see that the testng.xml file is getting through to the call, but it shows no tests are executed. &lt;/div&gt;



&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;suite name=&amp;quot;Test Suite&amp;quot; verbose=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;



&lt;div&gt;&amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;packages&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;package name=&amp;quot;com.comcast.neto.qa.ws.testng&amp;quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/packages&amp;gt;&lt;/div&gt;&lt;div&gt;        &amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/suite&amp;gt;&lt;/div&gt;



&lt;div&gt;)&lt;/div&gt;&lt;div&gt;xmlSuitList length: 1&lt;/div&gt;&lt;div&gt;packages: 0&lt;/div&gt;&lt;div&gt;[Parser] Running:&lt;/div&gt;&lt;div&gt;  Command line suite&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;===============================================&lt;/div&gt;&lt;div&gt;Test Suite&lt;/div&gt;



&lt;div&gt;Total tests run: 0, Failures: 0, Skips: 0&lt;/div&gt;&lt;div&gt;===============================================&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;- Ed&lt;br&gt;
&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;- Ed&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276566&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276566&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unable-to-execute-%3Cpackage%3E-when-testing-in-container-%3D-WebLogic-tp26276342p26276566.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26276380</id>
	<title>Re: Unable to execute &lt;package&gt; when testing in  container = WebLogic</title>
	<published>2009-11-09T16:41:02Z</published>
	<updated>2009-11-09T16:41:02Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">This looks like a classpath problem.  I haven&amp;#39;t used an ear file in a while but can&amp;#39;t you specify additional classpath entries in its MANIFEST or something like that?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(51, 102, 255);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;b style=&quot;background-color: rgb(255, 255, 255);&quot;&gt;Cédric&lt;/b&gt;&lt;br&gt;

&lt;/i&gt;&lt;span style=&quot;background-color: rgb(255, 204, 204); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(153, 51, 153); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); color: rgb(0, 0, 153);&quot;&gt;&lt;/span&gt;&lt;br&gt;

&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 4:37 PM, Ed Young &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276380&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ejy@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div&gt;Why would in-container execution fail only &amp;lt;package&amp;gt; elements?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;I&amp;#39;m programmatically executing testng.xml files by passing them into org.testng.xml.Parser.Parser(InputStream).  When I deploy my in container tests to WebLogic, I can execute just about any testng.xml suite except for those that specify a package. &lt;div&gt;


&lt;br&gt;&lt;/div&gt;&lt;div&gt;For example: &lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;suite name=&amp;quot;Test Suite&amp;quot; verbose=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;
 &lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;packages&amp;gt;&lt;/div&gt;&lt;div&gt;      &amp;lt;package name=&amp;quot;com.mycompany.neto.qa.ws.testng&amp;quot;/&amp;gt; &lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;    &amp;lt;/packages&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/suite&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Executes fine when I run it from eclipse, but when I build it into an ear, and deploy it to WebLogic, it apparently can&amp;#39;t find any classes to execute. The test-results look like this&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;testng-results&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;reporter-output&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;/reporter-output&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;suite name=&amp;quot;Test Suite&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;groups&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/groups&amp;gt;&lt;/div&gt;


&lt;div&gt;    &amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;/suite&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/testng-results&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I see that the testng.xml file is getting through to the call, but it shows no tests are executed. &lt;/div&gt;


&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;suite name=&amp;quot;Test Suite&amp;quot; verbose=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;


&lt;div&gt;&amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;packages&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;package name=&amp;quot;com.comcast.neto.qa.ws.testng&amp;quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/packages&amp;gt;&lt;/div&gt;&lt;div&gt;        &amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/suite&amp;gt;&lt;/div&gt;


&lt;div&gt;)&lt;/div&gt;&lt;div&gt;xmlSuitList length: 1&lt;/div&gt;&lt;div&gt;packages: 0&lt;/div&gt;&lt;div&gt;[Parser] Running:&lt;/div&gt;&lt;div&gt;  Command line suite&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;===============================================&lt;/div&gt;&lt;div&gt;Test Suite&lt;/div&gt;


&lt;div&gt;Total tests run: 0, Failures: 0, Skips: 0&lt;/div&gt;&lt;div&gt;===============================================&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;- Ed&lt;br&gt;
&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;
&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276380&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276380&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unable-to-execute-%3Cpackage%3E-when-testing-in-container-%3D-WebLogic-tp26276342p26276380.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26276342</id>
	<title>Unable to execute &lt;package&gt; when testing in container = WebLogic</title>
	<published>2009-11-09T16:37:38Z</published>
	<updated>2009-11-09T16:37:38Z</updated>
	<author>
		<name>Edderd</name>
	</author>
	<content type="html">&lt;div&gt;Why would in-container execution fail only &amp;lt;package&amp;gt; elements?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;I&amp;#39;m programmatically executing testng.xml files by passing them into org.testng.xml.Parser.Parser(InputStream).  When I deploy my in container tests to WebLogic, I can execute just about any testng.xml suite except for those that specify a package. &lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;For example: &lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;suite name=&amp;quot;Test Suite&amp;quot; verbose=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;
 &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;packages&amp;gt;&lt;/div&gt;&lt;div&gt;      &amp;lt;package name=&amp;quot;com.mycompany.neto.qa.ws.testng&amp;quot;/&amp;gt; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;    &amp;lt;/packages&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/suite&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Executes fine when I run it from eclipse, but when I build it into an ear, and deploy it to WebLogic, it apparently can&amp;#39;t find any classes to execute. The test-results look like this&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;testng-results&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;reporter-output&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;/reporter-output&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;suite name=&amp;quot;Test Suite&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;groups&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/groups&amp;gt;&lt;/div&gt;
&lt;div&gt;    &amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;/suite&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/testng-results&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I see that the testng.xml file is getting through to the call, but it shows no tests are executed. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;!DOCTYPE suite SYSTEM &amp;quot;&lt;a href=&quot;http://testng.org/testng-1.0.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://testng.org/testng-1.0.dtd&lt;/a&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;suite name=&amp;quot;Test Suite&amp;quot; verbose=&amp;quot;1&amp;quot;&amp;gt;&lt;/div&gt;
&lt;div&gt;&amp;lt;test name=&amp;quot;Test&amp;quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;packages&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;package name=&amp;quot;com.comcast.neto.qa.ws.testng&amp;quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/packages&amp;gt;&lt;/div&gt;&lt;div&gt;        &amp;lt;/test&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/suite&amp;gt;&lt;/div&gt;
&lt;div&gt;)&lt;/div&gt;&lt;div&gt;xmlSuitList length: 1&lt;/div&gt;&lt;div&gt;packages: 0&lt;/div&gt;&lt;div&gt;[Parser] Running:&lt;/div&gt;&lt;div&gt;  Command line suite&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;===============================================&lt;/div&gt;&lt;div&gt;Test Suite&lt;/div&gt;
&lt;div&gt;Total tests run: 0, Failures: 0, Skips: 0&lt;/div&gt;&lt;div&gt;===============================================&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;- Ed&lt;br&gt;
&lt;/div&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276342&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276342&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-users?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unable-to-execute-%3Cpackage%3E-when-testing-in-container-%3D-WebLogic-tp26276342p26276342.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26274751</id>
	<title>plugin history</title>
	<published>2009-11-09T14:20:17Z</published>
	<updated>2009-11-09T14:20:17Z</updated>
	<author>
		<name>idan72</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Is there a way to have in the testNG plugin something like the history feature in junit plugin ?
&lt;br&gt;&lt;br&gt;If not is there a way to tell the plugin to save each run in different directory ?
&lt;br&gt;&lt;br&gt;Thanks&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/plugin-history-tp26274751p26274751.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273303</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-09T12:41:25Z</published>
	<updated>2009-11-09T12:41:25Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 12:13 PM, Mats Nilsson &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273303&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mansica@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Because I cant get the trunk to work. It complains about not finding a suite file. I get that behaviour straight out of the checked out trunk(without modification) and independent if I choose &amp;quot;Run as test&amp;quot; or creates a suite file and &amp;quot;Run suite&amp;quot;.&lt;br&gt;

I guess it can be because of TestNG and not because of the plugin but I&amp;#39;m not sure.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Can you be more specific and explain your steps to reproduce this
problem?  I&amp;#39;m not sure if you are talking about building the plug-in,
or running it in PDE, or...&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Cédric 
&lt;/font&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273303&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273303&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26273303.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272930</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-09T12:13:17Z</published>
	<updated>2009-11-09T12:13:17Z</updated>
	<author>
		<name>Mats-12</name>
	</author>
	<content type="html">Because I cant get the trunk to work. It complains about not finding a suite file. I get that behaviour straight out of the checked out trunk(without modification) and independent if I choose &amp;quot;Run as test&amp;quot; or creates a suite file and &amp;quot;Run suite&amp;quot;.&lt;br&gt;
I guess it can be because of TestNG and not because of the plugin but I&amp;#39;m not sure.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/9 Cédric Beust ♔ &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272930&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbeust@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Mon, Nov 9, 2009 at 8:42 AM, Mats Nilsson &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272930&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mansica@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;I want to add a button/action/command that automatically creates a test configuration with customizable JVM-arguments. I dont want to change the behaviour of the current &amp;quot;Run as test&amp;quot; but to add this possibility. I checked out the trunk but get an error when I run testng. It complains about not finding a suite or something like that. I dont know if it is the plugin or testng that fails. &lt;br&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;So why do you think you need to check out a specific version of the plug-in?  Why not get the latest trunk?&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;-- &lt;br&gt;Cédric
&lt;br&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272930&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272930&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26272930.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26269553</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-09T08:46:00Z</published>
	<updated>2009-11-09T08:46:00Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 8:42 AM, Mats Nilsson &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269553&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mansica@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;I want to add a button/action/command that automatically creates a test configuration with customizable JVM-arguments. I dont want to change the behaviour of the current &amp;quot;Run as test&amp;quot; but to add this possibility. I checked out the trunk but get an error when I run testng. It complains about not finding a suite or something like that. I dont know if it is the plugin or testng that fails. &lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;So why do you think you need to check out a specific version of the plug-in?  Why not get the latest trunk?&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Cédric
&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269553&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269553&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26269553.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26269495</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-09T08:42:34Z</published>
	<updated>2009-11-09T08:42:34Z</updated>
	<author>
		<name>Mats-12</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;I want to add a button/action/command that automatically creates a test configuration with customizable JVM-arguments. I dont want to change the behaviour of the current &amp;quot;Run as test&amp;quot; but to add this possibility. I checked out the trunk but get an error when I run testng. It complains about not finding a suite or something like that. I dont know if it is the plugin or testng that fails. &lt;br&gt;
&lt;br&gt;//Mats&lt;/div&gt;&lt;div&gt;&lt;br&gt;9 nov 2009 kl. 17.10 skrev Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269495&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbeust@...&lt;/a&gt;&amp;gt;:&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Hi Mats,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Mon, Nov 9, 2009 at 12:39 AM, Mats &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269495&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mansica@...&lt;/a&gt;&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
Is it possible to get the source code for a released version of this&lt;br&gt;
plugin? From what I can tell it is only possible to check out the&lt;br&gt;
trunk.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;You are right, I haven&amp;#39;t been very good at using tags for the Eclipse plug-in repository, sorry about that.&lt;br&gt;&lt;br&gt;What are you trying to do?&lt;br clear=&quot;all&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Cédric
&lt;br&gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269495&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269495&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;/body&gt;&lt;/html&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26269495.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26269012</id>
	<title>Re: Sorce code for released versions</title>
	<published>2009-11-09T08:10:22Z</published>
	<updated>2009-11-09T08:10:22Z</updated>
	<author>
		<name>Cédric Beust ♔</name>
	</author>
	<content type="html">Hi Mats,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 12:39 AM, Mats &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269012&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mansica@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Is it possible to get the source code for a released version of this&lt;br&gt;
plugin? From what I can tell it is only possible to check out the&lt;br&gt;
trunk.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;You are right, I haven&amp;#39;t been very good at using tags for the Eclipse plug-in repository, sorry about that.&lt;br&gt;&lt;br&gt;What are you trying to do?&lt;br clear=&quot;all&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Cédric
&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;testng-dev&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269012&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26269012&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-dev+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-dev-f17363.html&quot; embed=&quot;fixTarget[17363]&quot; target=&quot;_top&quot; &gt;testng-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sorce-code-for-released-versions-tp26267584p26269012.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263800</id>
	<title>Re: Attaching TestNG listeners via Annotation?</title>
	<published>2009-11-09T02:05:01Z</published>
	<updated>2009-11-09T02:05:01Z</updated>
	<author>
		<name>borojevic</name>
	</author>
	<content type="html">&lt;br&gt;Hi Humayun,
&lt;br&gt;I can not protect testng.xml from being modified, but I could ask the
&lt;br&gt;svn admin to give me only exclusive rights on these files.
&lt;br&gt;&lt;br&gt;testng.xml is actually modified all the time, because developers are
&lt;br&gt;adding tests all the time, but nobody is adding the listener and there
&lt;br&gt;is
&lt;br&gt;no need to add listener frequently.
&lt;br&gt;If anybody modifies this file I will see the modification as we drive
&lt;br&gt;tests from cruisecontrol and list of changes are always presented.
&lt;br&gt;Anyway I have a quick look over the tests and suite files every
&lt;br&gt;morning and that takes some 10-15 min.
&lt;br&gt;I prefer to implement &amp;nbsp;interface ITestListener or IReporter and
&lt;br&gt;explicitly specify that I am going to use it, either in suite file,
&lt;br&gt;ant, command line,
&lt;br&gt;then doing this via annotation.
&lt;br&gt;Via annotation my listener would be hidden in large base of test
&lt;br&gt;classes and it would be quite difficult to troubleshoot if anything
&lt;br&gt;goes wrong and it usually goes wrong when you start write listener for
&lt;br&gt;the first time...
&lt;br&gt;And one more thing to add, nobody is interested in my team to write
&lt;br&gt;listeners and most of the people does not know about them, they just
&lt;br&gt;want to know how to add their tests to nightly build execution.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 7, 7:46 am, S M Humayun &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhuma...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi borojevic,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You've got a point and may be I'm wrong but shouldn't code maintenance
&lt;br&gt;&amp;gt; and governance be handled via other means? for example, what would you
&lt;br&gt;&amp;gt; do if one of your team member add one or more listeners to your
&lt;br&gt;&amp;gt; testng.xml file? how would you detect this? and more importantly how
&lt;br&gt;&amp;gt; would you protect this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt; S M Humayun
&lt;br&gt;&amp;gt; Software Architect, IBL Group
&lt;br&gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt; Email : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhuma...@...&lt;/a&gt;
&lt;br&gt;&amp;gt; MSN   : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun2...@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Skype : smhumayun
&lt;br&gt;&amp;gt; Cell  : 92.321.8707783
&lt;br&gt;&amp;gt; Blog  :&lt;a href=&quot;http://smhumayun.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://smhumayun.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; Link  :&lt;a href=&quot;http://www.linkedin.com/in/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/smhumayun&lt;/a&gt;&lt;br&gt;&amp;gt; Facebook :&lt;a href=&quot;http://www.facebook.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.facebook.com/smhumayun&lt;/a&gt;&lt;br&gt;&amp;gt; Twitter :&lt;a href=&quot;http://twitter.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/smhumayun&lt;/a&gt;&lt;br&gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Fri, Nov 6, 2009 at 1:59 PM, borojevic &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;boroje...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; I have around 1500-2000 tests that needs to be maintained.
&lt;br&gt;&amp;gt; &amp;gt; I specify customized listeners in suite files or when I run the suite
&lt;br&gt;&amp;gt; &amp;gt; with ant.
&lt;br&gt;&amp;gt; &amp;gt; Having control on listeners is much better for me then allowing anyone
&lt;br&gt;&amp;gt; &amp;gt; in my team to specify listener just by annotating some class.
&lt;br&gt;&amp;gt; &amp;gt; Bad implementation of listener interface, especially ITestListener
&lt;br&gt;&amp;gt; &amp;gt; could make problem during the execution of large base of tests.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Listeners are not something you do every day and I don't see very good
&lt;br&gt;&amp;gt; &amp;gt; scenario where you need to create them with annotation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Nov 6, 5:42 am, S M Humayun &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhuma...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Quote - we could imagine just launching TestNG with a bunch of classes
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and TestNG can determine which ones are tests and which ones are
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; listeners - Unquote
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thats exactly what I was thinking and in this case we don't even need
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; any @listener annotation, presence of interface is more than enough to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; sense that class is indeed a testng listener.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanx for the clarifications.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; S M Humayun
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Software Architect, IBL Group
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Email : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhuma...@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; MSN   : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhumayun2...@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Skype : smhumayun
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Cell  : 92.321.8707783
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Blog  :&lt;a href=&quot;http://smhumayun.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://smhumayun.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Link  :&lt;a href=&quot;http://www.linkedin.com/in/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/smhumayun&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Facebook :&lt;a href=&quot;http://www.facebook.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.facebook.com/smhumayun&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Twitter :&lt;a href=&quot;http://twitter.com/smhumayun&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/smhumayun&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 2009/11/5 Cédric Beust ♔ &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cbe...@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; On Thu, Nov 5, 2009 at 8:06 AM, S M Humayun &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;smhuma...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; Why all annotations have to be tied to a specific &amp;quot;test&amp;quot; class? can't
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; we have @Listener annotation for those &amp;quot;non test&amp;quot; classes which
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; implements one or more of the listener interfaces? making sure that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; the annotations defined in those classes have a &amp;quot;global&amp;quot; impact on
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; testing environment or context?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; I was talking about the way you tell TestNG about a listener, and it seems
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; to me that an annotation is not the best match for that.  Where would you
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; put that annotation?  On a class?  Which one, a test clas or a normal
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; class?  Why pick one test class over another one to specify a setting that's
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; global in nature?  And finally, how do you tell TestNG about that class that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; contains the listener annotation or that is a listener?  You will probably
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; have to use an XML file, so we're back to square one.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Having said that, what you're asking is possible:  we could imagine just
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; launching TestNG with a bunch of classes and TestNG can determine which ones
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; are tests and which ones are listeners.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; It's just that XML files become pretty much necessary once your test base
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; grows and you need to specify additional parameters or group your tests
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; logically, so I have never really felt the need to extend the command line
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; syntax past a certain level of complexity...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; Cédric
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;testng-users&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263800&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;testng-users+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/testng-users?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/testng-users?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/testng-users-f17364.html&quot; embed=&quot;fixTarget[17364]&quot; target=&quot;_top&quot; &gt;testng-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Attaching-TestNG-listeners-via-Annotation--tp26211918p26263800.html" />
</entry>

</feed>
