<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 套件包含所有包的所有文件

        TestNG.xml suite to include all packages all files(TestNG.xml 套件包含所有包的所有文件)

          <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 套件包含所有包的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How can I detect integer overflow on 32 bits int?(如何检测 32 位 int 上的整数溢出?)
                  Local variables before return statements, does it matter?(return 语句之前的局部变量,这有关系吗?)
                  How to convert Integer to int?(如何将整数转换为整数?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在给定范围内创建一个随机打乱数字的 int 数组)
                  Inconsistent behavior on java#39;s ==(java的行为不一致==)
                  Why is Java able to store 0xff000000 as an int?(为什么 Java 能够将 0xff000000 存储为 int?)

                  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>

                    • <tfoot id='rfQBv'></tfoot>
                        <bdo id='rfQBv'></bdo><ul id='rfQBv'></ul>

                              <tbody id='rfQBv'></tbody>

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