Lines Matching +full:- +full:- +full:junit +full:- +full:xml
3 <title>TestNG - Eclipse</title>
14 <h2 align="center">TestNG Eclipse plug-in</h2>
15 <p>The TestNG Eclipse plug-in allows you to run your TestNG tests from Eclipse
16 … has its own <a href="http://github.com/cbeust/testng-eclipse">project repository called <tt>testn…
21 <a class="summary" href="#eclipse-installation">1 - Installation</a>
23 <a class="summary" href="#eclipse-creating">2 - Creating a TestNG class</a>
25 <a class="summary" href="#eclipse-create-launch">3 - Launch configurations</a>
27 <a class="summary" href="#eclipse-create-class">3.1 - From a class file</a>
29 <a class="summary" href="#eclipse-create-groups">3.2 - From groups</a>
31 <a class="summary" href="#eclipse-create-xml">3.3 - From an XML file</a>
33 <a class="summary" href="#eclipse-create-method">3.4 - From a method</a>
35 <a class="summary" href="#eclipse-listeners">3.5 - Specifying listeners and other setti…
37 <a class="summary" href="#eclipse-viewing">4 - Viewing the results</a>
39 <a class="summary" href="#eclipse-search">5 - Search</a>
41 <a class="summary" href="#eclipse-summary">6 - The Summary tab</a>
43 <a class="summary" href="#eclipse-quickfix">7 - Converting JUnit tests</a>
45 <a class="summary" href="#eclipse-quickfixes">8 - Quick fixes</a>
47 <a class="summary" href="#eclipse-preferences">9 - Preferences and Properties</a>
49 <a class="summary" href="#eclipse-workbench-preferences">9.1 - Workbench Preferences</a>
51 <a class="summary" href="#eclipse-project-properties">9.2 - Project Properties</a>
53 <a class="summary" href="#testng-xml"></a>
55 <!--
57 -->
58 <h3><a name="eclipse-installation">1 - Installation</a></h3><p>
59 Once you have <a href="http://testng.org/doc/download.html">installed the plug-in</a>, restart Ecli…
67 <!--
69 -->
70 <h3><a name="eclipse-creating">2 - Creating a TestNG class</a></h3><p>
75 <img border="0" src="http://testng.org/pictures/new-1.png" />
81 <img border="0" src="http://testng.org/pictures/new-2.png" />
84 …ration methods, if you'd like a data provider and finally, if a <tt>testng.xml</tt> file should be…
87 <img border="0" src="http://testng.org/pictures/new-3.png" />
90 The plug-in will make a guess about the best location where this file should be created (for exampl…
92 <h3><a name="eclipse-create-launch">3 - Launch configuration</a></h3><p>Once you have created class…
93 more <tt>testng.xml</tt> files, you can create a TestNG Launch Configuration.
103 <li><b>Log Level</b>: specify the value (0-10) for different verbose log levels</li>
108 …: for maven based project, we normally define maven-surefire-plugin for test phase and maven-fails…
110 NOTE 2: if there are multiple "argLine" elements in the pom.xml, the first presence will be used. I…
113 … your TestNG tests in the following ways:</p><h4><a name="eclipse-launch-class">4.2.1 - From a cla…
120 <h4><a name="eclipse-create-groups">3.2 - From groups</a></h4>
129 <h4><a name="eclipse-create-xml">3.3 - From a definition file</a></h4>
131 <tt>testng.xml</tt>, the plug-in will automatically identify all the applicable TestNG XML files
139 <a name="eclipse-create-method">3.4 - From a method </a>
145 You can right-click on any test methods and select <tt>Run as... / TestNG test</tt> and only the se…
151 <a name="eclipse-listeners">3.5 -Specifying listeners and other settings </a>
154 …-in will let you start tests in many different ways: from an XML file, from a method, a class, et…
158 In order to give you access to the most flexibility, TestNG lets you specify an XML suite file for …
164 …XML template file", TestNG will reuse all the settings found in this XML file, such as parallel, n…
166 <!--
168 -->
170 <a name="eclipse-viewing">4 - Viewing the test results </a>
184 when you select such a test, the stack trace will be shown on the right-hand
189 <a name="eclipse-search">5 - Search </a>
200 <a name="eclipse-summary">6 - Summary </a>
215 <h3><a name="eclipse-quickfix">7 - Converting JUnit tests</a></h3>
217 You can easily convert JUnit 3 and JUnit 4 tests to TestNG.
228 <b>Convert from JUnit 3</b>
234 <b>Convert from JUnit 4</b>
246 <img border="0" src="http://beust.com/pics/menu-convert2.png " />
249 This page lets you generate a testng.xml automatically. You can configure whether to include your t…
262 <img border="0" src="http://beust.com/pics/menu-convert4.png" />
265 <h3><a name="eclipse-quickfixes">8 - Quick fixes</a></h3>
267 …ipse plug-in offers several quick fixes while you are editing a TestNG class (accessible with <tt>…
269 <h4>Convert to JUnit</h4>
271 This was covered in the <a href="#eclipse-quickfix"> previous section</a>.
278 <img border="0" src="http://testng.org/pictures/refactoring-pull-annotation.png" />
284 <img border="0" src="http://testng.org/pictures/refactoring-push-annotation.png" />
292 <img border="0" src="http://testng.org/pictures/quickfix-import.png" />
295 <!--
297 -->
298 <h3><a name="eclipse-preferences">9 - Preferences and Properties</a></h3>
299 <h4><a name="eclipse-workbench-preferences">9.1 - Workbench Preferences</a></h4>
316 <li><b>Template XML file</b>: the absolute path of the template xml file used to genernate the cust…
322 <h4><a name="eclipse-project-properties">9.2 - Project Properties</a></h4>
328 …ide the same properties if defined in <a class="summary" href="#eclipse-workbench-preferences">Tes…
331 <li><b>Watch testng-result.xml</b>:</li>
332 <li><b>Template XML file</b>: see in <a class="summary" href="#eclipse-workbench-preferences">TestN…
333 <li><b>Use Project TestNG jar</b>: see in <a class="summary" href="#eclipse-workbench-preferences">…
334 <li><b>Pre Defined Listeners</b>: see in <a class="summary" href="#eclipse-workbench-preferences">T…
338 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
341 _uacct = "UA-238215-2";