<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/testng-users</id>
  <title type="text">testng-users Google Group</title>
  <subtitle type="text">
  Users of the TestNG Java testing framework: http://testng.org
  </subtitle>
  <link href="/group/testng-users/feed/atom_v1_0_msgs.xml" rel="self" title="testng-users feed"/>
  <updated>2009-11-09T10:05:01Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>borojevic</name>
  <email>boroje...@gmail.com</email>
  </author>
  <updated>2009-11-09T10:05:01Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/5c47fec446eb684e?show_docid=5c47fec446eb684e</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/5c47fec446eb684e?show_docid=5c47fec446eb684e"/>
  <title type="text">Re: Attaching TestNG listeners via Annotation?</title>
  <summary type="html" xml:space="preserve">
  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.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tomás Pollak</name>
  <email>tpollak...@gmail.com</email>
  </author>
  <updated>2009-11-08T21:06:56Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/30f452d3880ba22a?show_docid=30f452d3880ba22a</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/30f452d3880ba22a?show_docid=30f452d3880ba22a"/>
  <title type="text">Re: [testng-users] Re: No interruption in a chain of dependent methods running</title>
  <summary type="html" xml:space="preserve">
  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.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cédric Beust ♔</name>
  <email>cbe...@google.com</email>
  </author>
  <updated>2009-11-08T15:53:54Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/36efebc8b538ddfa?show_docid=36efebc8b538ddfa</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/36efebc8b538ddfa?show_docid=36efebc8b538ddfa"/>
  <title type="text">Re: [testng-users] order of execution of tests</title>
  <summary type="html" xml:space="preserve">
  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.
  </summary>
  </entry>
  <entry>
  <author>
  <name>shashank ( shantaram )</name>
  <email>svwaingan...@gmail.com</email>
  </author>
  <updated>2009-11-08T14:18:33Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/f551a9517191b79a?show_docid=f551a9517191b79a</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/c9839aba92057207/f551a9517191b79a?show_docid=f551a9517191b79a"/>
  <title type="text">order of execution of tests</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cédric Beust ♔</name>
  <email>cbe...@google.com</email>
  </author>
  <updated>2009-11-07T17:25:20Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/b12cb557ab7001b7?show_docid=b12cb557ab7001b7</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/3001fd9abf631605/b12cb557ab7001b7?show_docid=b12cb557ab7001b7"/>
  <title type="text">Re: [testng-users] Re: No interruption in a chain of dependent methods running</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cédric Beust ♔</name>
  <email>cbe...@google.com</email>
  </author>
  <updated>2009-11-07T06:56:04Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/142147349dfd61fb?show_docid=142147349dfd61fb</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/142147349dfd61fb?show_docid=142147349dfd61fb"/>
  <title type="text">Re: [testng-users] Re: Attaching TestNG listeners via Annotation?</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>S M Humayun</name>
  <email>smhuma...@gmail.com</email>
  </author>
  <updated>2009-11-07T06:46:37Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/6b51f337aea0d98c?show_docid=6b51f337aea0d98c</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/6b51f337aea0d98c?show_docid=6b51f337aea0d98c"/>
  <title type="text">Re: [testng-users] Re: Attaching TestNG listeners via Annotation?</title>
  <summary type="html" xml:space="preserve">
  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?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cédric Beust ♔</name>
  <email>cbe...@google.com</email>
  </author>
  <updated>2009-11-07T04:04:38Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/76eee7d85a9b4107?show_docid=76eee7d85a9b4107</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/76eee7d85a9b4107?show_docid=76eee7d85a9b4107"/>
  <title type="text">Re: [testng-users] Method dependency issues</title>
  <summary type="html" xml:space="preserve">
  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?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lidia</name>
  <email>lid...@gmail.com</email>
  </author>
  <updated>2009-11-07T02:35:40Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/939a83fe793684aa?show_docid=939a83fe793684aa</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/44586ed5b22fefd3/939a83fe793684aa?show_docid=939a83fe793684aa"/>
  <title type="text">Method dependency issues</title>
  <summary type="html" xml:space="preserve">
  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)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cédric Beust ♔</name>
  <email>cbe...@google.com</email>
  </author>
  <updated>2009-11-06T20:51:38Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/f870f71a99e37f01?show_docid=f870f71a99e37f01</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/f870f71a99e37f01?show_docid=f870f71a99e37f01"/>
  <title type="text">Re: [testng-users] Re: Get current suite name during @Factory method call</title>
  <summary type="html" xml:space="preserve">
  Wow, thanks :-)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Curtis W</name>
  <email>galv...@gmail.com</email>
  </author>
  <updated>2009-11-06T20:47:39Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/4e6e8e0776f3a85e?show_docid=4e6e8e0776f3a85e</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/4e6e8e0776f3a85e?show_docid=4e6e8e0776f3a85e"/>
  <title type="text">Re: Get current suite name during @Factory method call</title>
  <summary type="html" xml:space="preserve">
  That works perfectly. You&#39;re a legend!
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cédric Beust ♔</name>
  <email>cbe...@google.com</email>
  </author>
  <updated>2009-11-06T20:24:33Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/155c015d607742d7?show_docid=155c015d607742d7</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/155c015d607742d7?show_docid=155c015d607742d7"/>
  <title type="text">Re: [testng-users] Get current suite name during @Factory method call</title>
  <summary type="html" xml:space="preserve">
  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;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Curtis W</name>
  <email>galv...@gmail.com</email>
  </author>
  <updated>2009-11-06T20:05:27Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/00df0f7370c0db6b?show_docid=00df0f7370c0db6b</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/79d712413093fac3/00df0f7370c0db6b?show_docid=00df0f7370c0db6b"/>
  <title type="text">Get current suite name during @Factory method call</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Arkhantos</name>
  <email>joseluis.bend...@gmail.com</email>
  </author>
  <updated>2009-11-06T15:25:50Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/db667209fd8f125a/d2ff8770c45941c4?show_docid=d2ff8770c45941c4</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/db667209fd8f125a/d2ff8770c45941c4?show_docid=d2ff8770c45941c4"/>
  <title type="text">Eclipse Plugin 5.9.0.5 problem with IInvokedMethodListener</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>borojevic</name>
  <email>boroje...@gmail.com</email>
  </author>
  <updated>2009-11-06T08:59:33Z</updated>
  <id>http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/2af035f03ab7bfce?show_docid=2af035f03ab7bfce</id>
  <link href="http://groups.google.com/group/testng-users/browse_thread/thread/e89dd1678cd964dc/2af035f03ab7bfce?show_docid=2af035f03ab7bfce"/>
  <title type="text">Re: Attaching TestNG listeners via Annotation?</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
</feed>
