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

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

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

      2. <small id='ov0AV'></small><noframes id='ov0AV'>

        在 Maven 集成測試期間啟動外部進程

        Starting external process during integration testing in maven(在 Maven 集成測試期間啟動外部進程)

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

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

            1. <tfoot id='fHSIv'></tfoot>

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

                    <tbody id='fHSIv'></tbody>

                  本文介紹了在 Maven 集成測試期間啟動外部進程的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我想要對 Maven 項目進行完全自動化的集成測試.集成測試要求在運行之前啟動一個外部(平臺相關)程序.理想情況下,外部程序會在單元測試完成后被終止,但這不是必需的.

                  I want completely automated integration testing for a Maven project. The integration tests require that an external (platform-dependent) program is started before running. Ideally, the external program would be killed after the unit tests are finished, but is not necessary.

                  是否有一個 Maven 插件來完成這個?其他想法?

                  Is there a Maven plugin to accomplish this? Other ideas?

                  推薦答案

                  你可以使用 antrun 插件.在里面你會使用 ant 的 exec 申請任務.

                  You could use the antrun plugin. Inside you would use ant's exec apply task.

                  類似的東西.

                  <plugin>
                      <groupId>org.apache.maven.plugins</groupId>
                      <artifactId>maven-antrun-plugin</artifactId>
                      <version>1.2</version>
                      <executions>
                        <execution>
                          <phase> <!-- a lifecycle phase --> </phase>
                          <configuration>
                  
                            <tasks>
                              <apply os="unix" executable="cmd">
                                <arg value="/c"/>
                                <arg value="ant.bat"/>
                                <arg value="-p"/>
                              </apply>
                              <apply os="windows" executable="cmd.exe">
                                <arg value="/c"/>
                                <arg value="ant.bat"/>
                                <arg value="-p"/>
                              </apply>
                            </tasks>
                  
                          </configuration>
                          <goals>
                            <goal>run</goal>
                          </goals>
                        </execution>
                      </executions>
                    </plugin>
                  

                  Ant 支持 os 特定命令當然是通過 條件任務.

                  這篇關于在 Maven 集成測試期間啟動外部進程的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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?)
                  <legend id='qy6QV'><style id='qy6QV'><dir id='qy6QV'><q id='qy6QV'></q></dir></style></legend>

                      <tbody id='qy6QV'></tbody>
                      <tfoot id='qy6QV'></tfoot>

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

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

                            主站蜘蛛池模板: 久久aⅴ乱码一区二区三区 91综合网 | 久久69精品久久久久久国产越南 | 亚洲国产精品久久久 | 国产成人综合一区二区三区 | 久久久国产一区二区三区四区小说 | 天天人人精品 | 亚洲一视频 | 久久久久久免费毛片精品 | 久久久久久成人 | 91小视频在线 | 极品粉嫩国产48尤物在线播放 | 日韩成人在线播放 | 久久久91精品国产一区二区精品 | 日本精品免费 | 国产91亚洲精品一区二区三区 | 日韩播放| 中文字幕成人在线 | 午夜久久久久久久久久一区二区 | 精品国产一区二区三区性色av | 91免费在线 | 国产乱码久久久久久 | 亚洲精品亚洲人成人网 | 可以在线看的黄色网址 | 涩爱av一区二区三区 | 亚洲综合日韩精品欧美综合区 | 一区二区精品 | 国产在线观看不卡一区二区三区 | 欧美一卡二卡在线观看 | 韩日在线视频 | 91精品国产色综合久久不卡蜜臀 | 欧美日韩一 | 精品一级毛片 | 国产精品久久久久久久久久三级 | 麻豆精品久久 | 日韩色视频 | 免费看的av | 久久99视频这里只有精品 | 国产精品一区二区久久 | 亚洲精品乱 | 中文字幕免费在线 | 国产高清视频一区 |