1<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
2
3<suite name="TestNG" verbose="1" parallel="false" thread-count="2"
4    data-provider-thread-count="3">
5
6  <method-selectors>
7    <method-selector>
8      <script language="javascript">foo()</script>
9    </method-selector>
10    <method-selector>
11      <selector-class name="SelectorClass" priority="3" />
12    </method-selector>
13  </method-selectors>
14
15  <parameter name="first-name" value="Cedric" />
16  <parameter name="suiteParameter" value="suiteParameterValue" />
17
18  <suite-files>
19    <suite-file path="./junit-suite.xml" />
20  </suite-files>
21
22  <groups>
23    <define name="bigSuite">
24      <include name="suite1" />
25      <include name="suite2" />
26    </define>
27    <run>
28      <exclude name="excludeThisGroup" />
29      <include name="includeThisGroup" />
30    </run>
31<!--
32    <dependencies>
33      <group name="a" depends-on="b" />
34      <group name="c" depends-on="d" />
35    </dependencies>
36 -->
37   </groups>
38
39  <listeners>
40    <listener class-name="com.beust.Listener1" />
41    <listener class-name="com.beust.Listener2" />
42  </listeners>
43
44  <packages>
45    <package name="com.example1" />
46    <package name="com.example2" />
47  </packages>
48
49  <test name="Nopackage" allow-return-values="true" thread-count="42">
50    <groups>
51      <define name="evenodd">
52        <include name="even" />
53        <include name="odd" />
54      </define>
55      <run>
56        <include name="nopackage"/>
57      </run>
58	    <dependencies>
59	      <group name="e" depends-on="f" />
60	      <group name="g" depends-on="h" />
61	    </dependencies>
62    </groups>
63    <classes>
64      <class name="NoPackageTest" />
65    </classes>
66  </test>
67
68  <test name="Regression1" >
69    <groups>
70      <define name="evenodd">
71        <include name="even" />
72        <include name="odd" />
73      </define>
74      <run>
75        <exclude name="excludeThisGroup" />
76      </run>
77    </groups>
78
79    <classes>
80      <class name="test.parameters.ParameterSample" />
81      <class name="test.parameters.ParameterTest" />
82      <class name="test.Test1" />
83      <class name="test.Test2" />
84      <class name="test.CtorCalledOnce" />
85      <class name="test.expectedexceptions.ExpectedExceptionsTest" />
86      <class name="test.access.PrivateAccessConfigurationMethods" />
87      <class name="test.expectedexceptions.WrappedExpectedExceptionTest" />
88      <class name="test.parameters.OptionalParameterTest"/>
89      <class name="test.parameters.ParamInheritanceTest"/>
90    </classes>
91  </test>
92
93  <test name="Bug173">
94    <classes>
95      <class name="test.testng173.TestNG173Test" />
96    </classes>
97  </test>
98
99</suite>
100