久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

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

    <legend id='TK74Z'><style id='TK74Z'><dir id='TK74Z'><q id='TK74Z'></q></dir></style></legend>

        <bdo id='TK74Z'></bdo><ul id='TK74Z'></ul>
    1. <i id='TK74Z'><tr id='TK74Z'><dt id='TK74Z'><q id='TK74Z'><span id='TK74Z'><b id='TK74Z'><form id='TK74Z'><ins id='TK74Z'></ins><ul id='TK74Z'></ul><sub id='TK74Z'></sub></form><legend id='TK74Z'></legend><bdo id='TK74Z'><pre id='TK74Z'><center id='TK74Z'></center></pre></bdo></b><th id='TK74Z'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='TK74Z'><tfoot id='TK74Z'></tfoot><dl id='TK74Z'><fieldset id='TK74Z'></fieldset></dl></div>

        <tfoot id='TK74Z'></tfoot>
      1. maven pom.xml 如何識別非標準項目結構中的 testng 測

        How maven pom.xml identifies the testng test cases in a non-standard project structure?(maven pom.xml 如何識別非標準項目結構中的 testng 測試用例?)

          <legend id='XbmeB'><style id='XbmeB'><dir id='XbmeB'><q id='XbmeB'></q></dir></style></legend>

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

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

          • <bdo id='XbmeB'></bdo><ul id='XbmeB'></ul>

                    <tbody id='XbmeB'></tbody>
                  本文介紹了maven pom.xml 如何識別非標準項目結構中的 testng 測試用例?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我對 maven 和 testng 完全陌生.我使用 maven 作為構建工具,并使用 testng 作為我的測試框架.我沒有遵循標準的 Maven 項目結構.現在我希望我的 pom.xml 在我的項目中執行測試用例.問題是,pom.xml 如何知道要考慮執行哪些測試用例?

                  解決方案

                  如果你把它放在一個地方,你需要設置 maven-surefire-plugin 配置的 testClassesDirectory 參數:

                  <代碼><項目>[...]<構建><插件><插件><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><版本>2.17</版本><配置><testClassesDirectory>路徑/到/編譯的測試類</testClassesDirectory></配置></插件></插件></構建>[...]</項目>

                  所有這些都在 Maven Surefire 插件文檔中詳細記錄了p>

                  I am completely new to maven and testng. I am using maven as build tool, and testng as my testing framework. I am not following the standard maven project structure. Now I want my pom.xml to execute the test cases in my project. The question is, how pom.xml knows what are the test cases to consider for execution?

                  解決方案

                  If you keep this in a single place you need to set the testClassesDirectory argument of the maven-surefire-plugin configuration:

                  <project>
                    [...]
                    <build>
                      <plugins>
                        <plugin>
                          <groupId>org.apache.maven.plugins</groupId>
                          <artifactId>maven-surefire-plugin</artifactId>
                          <version>2.17</version>
                          <configuration>
                            <testClassesDirectory>path/to/compiled test classes</testClassesDirectory>
                          </configuration>
                        </plugin>
                      </plugins>
                    </build>
                    [...]
                  </project>
                  

                  All of this is well documented in the Maven Surefire Plugin Documentation

                  這篇關于maven pom.xml 如何識別非標準項目結構中的 testng 測試用例?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  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?)
                  • <bdo id='YIbw9'></bdo><ul id='YIbw9'></ul>

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

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

                          • <legend id='YIbw9'><style id='YIbw9'><dir id='YIbw9'><q id='YIbw9'></q></dir></style></legend>
                          • 主站蜘蛛池模板: 亚洲黄色高清视频 | 午夜视频一区二区三区 | 性生生活大片免费看视频 | 国产精品一区二区av | 69堂永久69tangcom | 国产精品视频一区二区三区 | 国产精品大片 | 日本精品一区二区 | 欧美一级欧美一级在线播放 | 亚洲免费大片 | 国产亚洲高清视频 | 国产日韩欧美 | 一区二区三区四区在线 | 一区二区三区视频免费看 | 99久久精品免费 | 日韩成人在线网站 | 久久久久久91香蕉国产 | 中文字幕国产视频 | 国产视频1区2区 | 亚洲aⅴ精品 | 欧美激情视频一区二区三区在线播放 | 欧美激情在线精品一区二区三区 | 成人亚洲网站 | 国产精品久久久久久久久久久久 | 久久国产一区 | 在线视频一区二区三区 | 狠狠插狠狠操 | 成人免费看 | 在线日韩不卡 | 国产精品久久久久久久久久99 | 成人亚洲精品久久久久软件 | 天天噜天天干 | 国产日韩一区二区 | 日韩高清一区 | 国产电影一区二区在线观看 | www.色综合 | 国产农村妇女毛片精品久久麻豆 | 亚洲欧美一区二区三区视频 | 亚洲一区中文字幕 | 日本一区二区三区四区 | 97久久精品午夜一区二区 |