久久久久久久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 如何識別非標(biāo)準(zhǔn)項目結(jié)構(gòu)中的 testng 測

        How maven pom.xml identifies the testng test cases in a non-standard project structure?(maven pom.xml 如何識別非標(biāo)準(zhǔn)項目結(jié)構(gòu)中的 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 如何識別非標(biāo)準(zhǔn)項目結(jié)構(gòu)中的 testng 測試用例?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我對 maven 和 testng 完全陌生.我使用 maven 作為構(gòu)建工具,并使用 testng 作為我的測試框架.我沒有遵循標(biāo)準(zhǔn)的 Maven 項目結(jié)構(gòu).現(xiàn)在我希望我的 pom.xml 在我的項目中執(zhí)行測試用例.問題是,pom.xml 如何知道要考慮執(zhí)行哪些測試用例?

                  解決方案

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

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

                  所有這些都在 Maven Surefire 插件文檔中詳細(xì)記錄了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

                  這篇關(guān)于maven pom.xml 如何識別非標(biāo)準(zhǔn)項目結(jié)構(gòu)中的 testng 測試用例?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數(shù)溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關(guān)系嗎?)
                  How to convert Integer to int?(如何將整數(shù)轉(zhuǎn)換為整數(shù)?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內(nèi)創(chuàng)建一個隨機(jī)打亂數(shù)字的 int 數(shù)組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠?qū)?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>
                          • 主站蜘蛛池模板: 一区二区免费高清视频 | 亚洲精品久久久久久一区二区 | 一区二区三区视频在线免费观看 | 99re热这里只有精品视频 | 欧美一区免费 | 亚洲精品一二区 | 久久久久国产一区二区三区 | 中文字幕乱码一区二区三区 | 小h片免费观看久久久久 | av免费成人 | 久久精品男人的天堂 | 国产免费福利 | 日韩一区二区视频 | 一呦二呦三呦国产精品 | 成人免费在线视频 | 精品视频在线一区 | 国产成人精品亚洲日本在线观看 | 4h影视| 亚洲在线一区 | 久久午夜剧场 | 91亚洲国产精品 | 欧美不卡视频 | 天天拍天天操 | 亚洲国产精品视频一区 | 欧美极品在线观看 | 国产精品一区一区 | 日韩在线看片 | 精品日韩一区 | 在线播放国产一区二区三区 | 在线观看久草 | 国产精选一区 | 国产精品一区二区av | 色天天综合 | 国产一区二区电影网 | 91偷拍精品一区二区三区 | 日本黄色大片免费 | 国产美女在线观看 | 成人久久18免费网站图片 | 国产精品成人在线播放 | 国产91精品在线 | 欧美一区二区三区视频在线 |