<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>testng-users Google Group</title>
  <link>http://groups.google.com/group/testng-users</link>
  <description>Users of the TestNG Java testing framework: http://testng.org</description>
  <language>en</language>
  <item>
  <title>Re: Attaching TestNG listeners via Annotation?</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/5c47fec446eb684e?show_docid=5c47fec446eb684e</link>
  <description>
  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;p&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.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/5c47fec446eb684e?show_docid=5c47fec446eb684e</guid>
  <author>
  boroje...@gmail.com
  (borojevic)
  </author>
  <pubDate>Mon, 09 Nov 2009 10:05:01 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] Re: No interruption in a chain of dependent methods running</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/30f452d3880ba22a?show_docid=30f452d3880ba22a</link>
  <description>
  Hi Cédric, &lt;br&gt; &lt;p&gt;The problem was with the eclipse plugin. I have now tested running the tests &lt;br&gt; from the command line and from maven, and they both execute the tests in the &lt;br&gt; expected order. So apparently the problem is only with the eclipse plugin. &lt;br&gt; &lt;p&gt;I&#39;ll try to do more tests, but it will take me some time.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/30f452d3880ba22a?show_docid=30f452d3880ba22a</guid>
  <author>
  tpollak...@gmail.com
  (Tomás Pollak)
  </author>
  <pubDate>Sun, 08 Nov 2009 21:06:56 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] order of execution of tests</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/36efebc8b538ddfa?show_docid=36efebc8b538ddfa</link>
  <description>
  On Sun, Nov 8, 2009 at 6:18 AM, shashank ( shantaram ) &amp;lt; &lt;br&gt; No, the XML file only contains the list of classes to be analyzed by TestNG. &lt;br&gt; If you need a specific ordering, you should use &lt;br&gt; dependsOnGroups/dependsOnMetho ds.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/36efebc8b538ddfa?show_docid=36efebc8b538ddfa</guid>
  <author>
  cbe...@google.com
  (Cédric Beust ♔)
  </author>
  <pubDate>Sun, 08 Nov 2009 15:53:54 UT
</pubDate>
  </item>
  <item>
  <title>order of execution of tests</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/f551a9517191b79a?show_docid=f551a9517191b79a</link>
  <description>
  Is there a guarantee that multiple tests in a testng.xml file will be &lt;br&gt; executed in the order they are declared in the file ? &lt;br&gt; Assume parallel option is none and no dependson annotations are used. &lt;br&gt; &lt;p&gt;I have exhaustively tested this and the test are getting executed in &lt;br&gt; right order. &lt;br&gt; But wanted a confirmation before my team gets down to writing the
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/f551a9517191b79a?show_docid=f551a9517191b79a</guid>
  <author>
  svwaingan...@gmail.com
  (shashank ( shantaram ))
  </author>
  <pubDate>Sun, 08 Nov 2009 14:18:33 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] Re: No interruption in a chain of dependent methods running</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/b12cb557ab7001b7?show_docid=b12cb557ab7001b7</link>
  <description>
  Hi Tomás, &lt;br&gt; &lt;p&gt;The order I get from the command line looks correct: &lt;br&gt; &lt;p&gt;*********** INVOKED METHODS &lt;br&gt; &lt;p&gt; test.tmp.TestA.insertA() 12741398 &lt;br&gt; test.tmp.TestA.testGetA() 12741398 &lt;br&gt; test.tmp.TestA.testViewA_Detai ls1() 12741398 &lt;br&gt; test.tmp.TestA.testViewA_Detai ls2() 12741398 &lt;br&gt; test.tmp.TestA.testViewA_Detai ls3() 12741398
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/b12cb557ab7001b7?show_docid=b12cb557ab7001b7</guid>
  <author>
  cbe...@google.com
  (Cédric Beust ♔)
  </author>
  <pubDate>Sat, 07 Nov 2009 17:25:20 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] Re: Attaching TestNG listeners via Annotation?</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/142147349dfd61fb?show_docid=142147349dfd61fb</link>
  <description>
  This is an orthogonal issue, but if that developer can modify the &lt;br&gt; testng.xml file, they can probably just as well modify a source file. &lt;br&gt; There are several ways to address this problem, code reviews being probably &lt;br&gt; the one that makes most sense (obviously, code reviews have a lot of other &lt;br&gt; benefits). &lt;br&gt; Back to the annotation discussion, my rule of thumb to use an annotation
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/142147349dfd61fb?show_docid=142147349dfd61fb</guid>
  <author>
  cbe...@google.com
  (Cédric Beust ♔)
  </author>
  <pubDate>Sat, 07 Nov 2009 06:56:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] Re: Attaching TestNG listeners via Annotation?</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/6b51f337aea0d98c?show_docid=6b51f337aea0d98c</link>
  <description>
  Hi borojevic, &lt;br&gt; &lt;p&gt;You&#39;ve got a point and may be I&#39;m wrong but shouldn&#39;t code maintenance &lt;br&gt; and governance be handled via other means? for example, what would you &lt;br&gt; do if one of your team member add one or more listeners to your &lt;br&gt; testng.xml file? how would you detect this? and more importantly how &lt;br&gt; would you protect this?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/6b51f337aea0d98c?show_docid=6b51f337aea0d98c</guid>
  <author>
  smhuma...@gmail.com
  (S M Humayun)
  </author>
  <pubDate>Sat, 07 Nov 2009 06:46:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] Method dependency issues</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/76eee7d85a9b4107?show_docid=76eee7d85a9b4107</link>
  <description>
  Hi Lidia, &lt;br&gt; &lt;p&gt;You should not be mixing @Test with @AfterSuite, you should break down this &lt;br&gt; code in two categories (which one is really a test and which one is used to &lt;br&gt; tear down your test) and put these in separate methods. &lt;br&gt; &lt;p&gt;Can you do this and post your updated code if you&#39;re still having problems?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/76eee7d85a9b4107?show_docid=76eee7d85a9b4107</guid>
  <author>
  cbe...@google.com
  (Cédric Beust ♔)
  </author>
  <pubDate>Sat, 07 Nov 2009 04:04:38 UT
</pubDate>
  </item>
  <item>
  <title>Method dependency issues</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/939a83fe793684aa?show_docid=939a83fe793684aa</link>
  <description>
  Hello &lt;br&gt; &lt;p&gt;I have some basic questions related to method dependency. I have the &lt;br&gt; following test: &lt;br&gt; &lt;p&gt;@Test (groups = {&amp;quot;jsf&amp;quot;, &amp;quot;ajax&amp;quot;, &amp;quot;crossbrowser&amp;quot;}) &lt;br&gt; public class TestCrossbrowserUpdateAttr extends SeleneseTestCase { &lt;br&gt; (...) &lt;br&gt; &lt;p&gt; @BeforeSuite(alwaysRun = true) &lt;br&gt; @Test &lt;br&gt; public void setUp(){ &lt;br&gt; (start selenium here, open start page, etc)
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/939a83fe793684aa?show_docid=939a83fe793684aa</guid>
  <author>
  lid...@gmail.com
  (Lidia)
  </author>
  <pubDate>Sat, 07 Nov 2009 02:35:40 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] Re: Get current suite name during @Factory method call</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/f870f71a99e37f01?show_docid=f870f71a99e37f01</link>
  <description>
  Wow, thanks :-)
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/f870f71a99e37f01?show_docid=f870f71a99e37f01</guid>
  <author>
  cbe...@google.com
  (Cédric Beust ♔)
  </author>
  <pubDate>Fri, 06 Nov 2009 20:51:38 UT
</pubDate>
  </item>
  <item>
  <title>Re: Get current suite name during @Factory method call</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/4e6e8e0776f3a85e?show_docid=4e6e8e0776f3a85e</link>
  <description>
  That works perfectly. You&#39;re a legend!
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/4e6e8e0776f3a85e?show_docid=4e6e8e0776f3a85e</guid>
  <author>
  galv...@gmail.com
  (Curtis W)
  </author>
  <pubDate>Fri, 06 Nov 2009 20:47:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: [testng-users] Get current suite name during @Factory method call</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/155c015d607742d7?show_docid=155c015d607742d7</link>
  <description>
  Hi Curtis, &lt;br&gt; &lt;p&gt;You can tell TestNG to pass your factory an ITestContext that contains all &lt;br&gt; the information you need. &lt;br&gt; &lt;p&gt;Maybe something a bit more flexible for you would be to use a parameter: &lt;br&gt; &lt;p&gt;&amp;lt;suite name=&amp;quot;Single&amp;quot; verbose=&amp;quot;1&amp;quot; parallel=&amp;quot;false&amp;quot; thread-count=&amp;quot;2&amp;quot;&amp;gt; &lt;br&gt; &lt;p&gt; &amp;lt;parameters&amp;gt; &lt;br&gt; &amp;lt;parameter name=&amp;quot;foo&amp;quot; value=&amp;quot;bar&amp;quot; /&amp;gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/155c015d607742d7?show_docid=155c015d607742d7</guid>
  <author>
  cbe...@google.com
  (Cédric Beust ♔)
  </author>
  <pubDate>Fri, 06 Nov 2009 20:24:33 UT
</pubDate>
  </item>
  <item>
  <title>Get current suite name during @Factory method call</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/00df0f7370c0db6b?show_docid=00df0f7370c0db6b</link>
  <description>
  I have a group of tests that are created using an @Factory method, and &lt;br&gt; are part of a larger suite that I&#39;ve defined in an xml file. I&#39;d like &lt;br&gt; these tests to run against one of several environments which are at &lt;br&gt; different URLs. For normal @Test methods this is not a problem because &lt;br&gt; in the @BeforeSuite period of testng&#39;s lifecycle I can simply call a
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/00df0f7370c0db6b?show_docid=00df0f7370c0db6b</guid>
  <author>
  galv...@gmail.com
  (Curtis W)
  </author>
  <pubDate>Fri, 06 Nov 2009 20:05:27 UT
</pubDate>
  </item>
  <item>
  <title>Eclipse Plugin 5.9.0.5 problem with IInvokedMethodListener</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/db667209fd8f125a/d2ff8770c45941c4?show_docid=d2ff8770c45941c4</link>
  <description>
  This is the problem: &lt;br&gt; &lt;p&gt;when i use this listener that implements IInvokedMethodListener in &lt;br&gt; this way in my testng.xml file &lt;br&gt; &lt;p&gt;&amp;lt;listeners&amp;gt; &lt;br&gt; &amp;lt;listener class-name=&amp;quot;com.company.testng Listener&amp;quot; /&amp;gt; &lt;br&gt; &amp;lt;/listeners&amp;gt; &lt;br&gt; &lt;p&gt;everything works fine except whith listeners that implements &lt;br&gt; IInvokedMethodListener which doesn&#39;t run
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/db667209fd8f125a/d2ff8770c45941c4?show_docid=d2ff8770c45941c4</guid>
  <author>
  joseluis.bend...@gmail.com
  (Arkhantos)
  </author>
  <pubDate>Fri, 06 Nov 2009 15:25:50 UT
</pubDate>
  </item>
  <item>
  <title>Re: Attaching TestNG listeners via Annotation?</title>
  <link>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/2af035f03ab7bfce?show_docid=2af035f03ab7bfce</link>
  <description>
  Hi, &lt;br&gt; I have around 1500-2000 tests that needs to be maintained. &lt;br&gt; I specify customized listeners in suite files or when I run the suite &lt;br&gt; with ant. &lt;br&gt; Having control on listeners is much better for me then allowing anyone &lt;br&gt; in my team to specify listener just by annotating some class. &lt;br&gt; Bad implementation of listener interface, especially ITestListener
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/2af035f03ab7bfce?show_docid=2af035f03ab7bfce</guid>
  <author>
  boroje...@gmail.com
  (borojevic)
  </author>
  <pubDate>Fri, 06 Nov 2009 08:59:33 UT
</pubDate>
  </item>
  </channel>
</rss>
