久久久久久久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在线一区二区三区 | 亚洲精品自在在线观看 | 色网站入口 | 精品在线视频播放 | 国产视频观看 | 这里有精品 | 亚洲视频在线看 | 综合二区 | 人人爽日日躁夜夜躁尤物 | 国产精品国产三级国产aⅴ入口 | 国产精品99久久久久久www | 精品不卡 | 黑人一级片视频 | 日日日操 | 逼逼网 | 日本视频一区二区三区 | 国产午夜亚洲精品不卡 | 精品九九| 成人精品国产免费网站 | 国产精品久久久久久av公交车 | 日韩久久久久久 | 国产成人av在线播放 | 欧美久久一区二区 | 成人午夜免费在线视频 | 日韩一区二区福利视频 | 日韩欧美精品 | 免费在线观看91 | 天堂在线中文 | 亚洲欧美一区二区在线观看 | 亚洲三级av | 日韩福利在线 | 欧美激情综合 | 九九国产在线观看 | 午夜影院在线观看视频 | 伦理二区 | wwwxxx日本在线观看 | 亚洲国产精品99久久久久久久久 | 日韩在线观看视频一区 | 91精品国产91综合久久蜜臀 | 亚洲免费精品 |