<tfoot id='w3VzW'></tfoot>

      <small id='w3VzW'></small><noframes id='w3VzW'>

      <i id='w3VzW'><tr id='w3VzW'><dt id='w3VzW'><q id='w3VzW'><span id='w3VzW'><b id='w3VzW'><form id='w3VzW'><ins id='w3VzW'></ins><ul id='w3VzW'></ul><sub id='w3VzW'></sub></form><legend id='w3VzW'></legend><bdo id='w3VzW'><pre id='w3VzW'><center id='w3VzW'></center></pre></bdo></b><th id='w3VzW'></th></span></q></dt></tr></i><div id='w3VzW'><tfoot id='w3VzW'></tfoot><dl id='w3VzW'><fieldset id='w3VzW'></fieldset></dl></div>
        • <bdo id='w3VzW'></bdo><ul id='w3VzW'></ul>
        <legend id='w3VzW'><style id='w3VzW'><dir id='w3VzW'><q id='w3VzW'></q></dir></style></legend>

        TestNG.xml 套件包含所有包的所有文件

        时间:2023-05-28

          <i id='YlKzm'><tr id='YlKzm'><dt id='YlKzm'><q id='YlKzm'><span id='YlKzm'><b id='YlKzm'><form id='YlKzm'><ins id='YlKzm'></ins><ul id='YlKzm'></ul><sub id='YlKzm'></sub></form><legend id='YlKzm'></legend><bdo id='YlKzm'><pre id='YlKzm'><center id='YlKzm'></center></pre></bdo></b><th id='YlKzm'></th></span></q></dt></tr></i><div id='YlKzm'><tfoot id='YlKzm'></tfoot><dl id='YlKzm'><fieldset id='YlKzm'></fieldset></dl></div>

                  <tbody id='YlKzm'></tbody>

                  <bdo id='YlKzm'></bdo><ul id='YlKzm'></ul>
                  <tfoot id='YlKzm'></tfoot>

                • <small id='YlKzm'></small><noframes id='YlKzm'>

                • <legend id='YlKzm'><style id='YlKzm'><dir id='YlKzm'><q id='YlKzm'></q></dir></style></legend>
                • 本文介绍了TestNG.xml 套件包含所有包的所有文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  即将用 Maven+TestNG+Selenium 实现一个测试框架.

                  Just about to implement a test framework with Maven+TestNG+Selenium.

                  你如何声明一个告诉 TestNG 运行 ALL 测试的 suite.xml?我已经尝试了所有这些都无济于事:

                  How do you declare a suite.xml that tells TestNG to run ALL tests? I've tried all these to no avail:

                  <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
                  <suite name="Toplevel TestNG configuration" verbose="10">
                    <test name="all">
                      <classes>
                        <class name="*" />
                      </classes>
                    </test>
                  </suite>
                  
                  <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
                  <suite name="Toplevel TestNG configuration" verbose="10">
                    <test name="all">
                      <groups>
                        <run>
                          <include name="*" />
                          <exclude name="disabled" />
                        </run>
                      </groups>
                    </test>
                  </suite>
                  
                  <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
                  <suite name="Toplevel TestNG configuration" verbose="10">
                    <test name="all">
                      <packages>
                        <package name="*" />
                      </packages>
                    </test>
                  </suite>
                  

                  我需要使用不同的参数指定不同的套件配置,但都运行所有测试.我可以挖掘的每个示例都明确列出了对我来说意义小于零的每个类或包.

                  I need to specify different suite configurations with different paramers but all running all tests. Every example I could dig up explicitely lists each class or package which makes less than zero sense to me.

                  推荐答案

                  据我所知,应该使用 .* 来匹配它们.

                  Should use .* to match them all as far as I know.

                  这篇关于TestNG.xml 套件包含所有包的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:“Chrome Legacy Window"的自动化(铬)使用 Winium 下一篇:将 window tester 与 eclipse 集成以测试 UI

                  相关文章

                  1. <legend id='rfQBv'><style id='rfQBv'><dir id='rfQBv'><q id='rfQBv'></q></dir></style></legend>
                  2. <i id='rfQBv'><tr id='rfQBv'><dt id='rfQBv'><q id='rfQBv'><span id='rfQBv'><b id='rfQBv'><form id='rfQBv'><ins id='rfQBv'></ins><ul id='rfQBv'></ul><sub id='rfQBv'></sub></form><legend id='rfQBv'></legend><bdo id='rfQBv'><pre id='rfQBv'><center id='rfQBv'></center></pre></bdo></b><th id='rfQBv'></th></span></q></dt></tr></i><div id='rfQBv'><tfoot id='rfQBv'></tfoot><dl id='rfQBv'><fieldset id='rfQBv'></fieldset></dl></div>

                  3. <tfoot id='rfQBv'></tfoot>
                      <bdo id='rfQBv'></bdo><ul id='rfQBv'></ul>

                      <small id='rfQBv'></small><noframes id='rfQBv'>