1<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> 2<suite thread-count="4" configfailurepolicy="skip" verbose="2" name="SingleSuite" skipfailedinvocationcounts="false" parallel="false" annotations="JDK" data-provider-thread-count="3"> 3 <parameter name="n" value="42"/> 4 <parameter name="p" value="10"/> 5 <parameter name="s" value="a b c"/> 6 <parameter name="t" value="a,b"/> 7 <listeners> 8 <listener class-name="test.invokedmethodlistener.MyListener"/> 9 </listeners> 10 <packages> 11 <package name="test.testng355.org.apache.tapestry5"> 12 <include name="Foo"/> 13 <include name="Foo2"/> 14 <exclude name="Bar"/> 15 </package> 16 <package name="test.testng355.org.apache.tapestry5.dom"> 17 </package> 18 </packages> 19 <method-selectors> 20 <method-selector> 21 <selector-class name="org.testng.internal.XmlMethodSelector" priority="1"/> 22 </method-selector> 23 <method-selector> 24 <script language="beanshell"> 25 <![CDATA[groups.containsKey("test1")]]> 26 </script> 27 </method-selector> 28 </method-selectors> 29 <test verbose="1" name="Test3" junit="false" preserve-order="false"> 30 <method-selectors> 31 <method-selector> 32 <selector-class name="org.testng.internal.XmlMethodSelector" priority="1"/> 33 </method-selector> 34 <method-selector> 35 <script language="beanshell"> 36 <![CDATA[groups.containsKey("test1")]]> 37 </script> 38 </method-selector> 39 </method-selectors> 40 <parameter name="n" value="43"/> 41 <parameter name="z" value="foo"/> 42 <groups> 43 <define name="a"> 44 <include name="b"/> 45 <include name="d"/> 46 </define> 47 <run> 48 <include name="A"/> 49 <include name="B"/> 50 <exclude name="C"/> 51 <exclude name="D"/> 52 </run> 53 </groups> 54 <packages> 55 <package name="com.example1"> 56 </package> 57 <package name="com.example2"> 58 </package> 59 </packages> 60 </test> 61 <test verbose="1" name="Test1" junit="false" preserve-order="false"> 62 <classes> 63 <class name="test.tmp.A"> 64 <methods> 65 <include name="test1"/> 66 <include name="test2"/> 67 <exclude name="test3"/> 68 </methods> 69 </class> 70 <class name="test.tmp.B"/> 71 </classes> 72 </test> 73 <test verbose="1" name="Test2" junit="false" preserve-order="false"> 74 <classes> 75 <class name="test.tmp.B"/> 76 </classes> 77 </test> 78</suite> 79 80