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

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

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

      • <bdo id='MAtVF'></bdo><ul id='MAtVF'></ul>
    1. 如果其他測試失敗,我可以跳過 Junit 測試嗎?

      Can I Skip Junit Tests if other tests fail?(如果其他測試失敗,我可以跳過 Junit 測試嗎?)
        <legend id='geH2I'><style id='geH2I'><dir id='geH2I'><q id='geH2I'></q></dir></style></legend>

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

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

                <tfoot id='geH2I'></tfoot>
                本文介紹了如果其他測試失敗,我可以跳過 Junit 測試嗎?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我正在使用 Junit 通過 Seleniun WebDriver 運行測試.我正在嘗試將我的測試分成功能區域以便更好地報告錯誤.我創建了測試來測試頁面加載/將文檔移動到其他工作流程.如果頁面加載測試失敗,或者工作流程移動失敗,我想跳過后續的頁面/工作流程測試.

                I'm using Junit to run tests with Seleniun WebDriver. I'm trying to split up my tests into function area for better error reporting. I've created tests to test Page load/moving documents to other workflows. If a page load test fails, or a workflow move fails I want to skip the subsequent page/workflow tests.

                如果測試 A 失敗,我如何跳過班級中的其余測試或在班級 B 中運行測試?

                if a Test A fails how can I skip either the rest of the tests in the class or running tests in Class B?

                注意:我意識到我要問的是UNIT TESTS 的不好的做法*".但是,我實際上將 Junit 用于 Integration 和/或 Automation 測試.(取決于您的定義.)我已經找到 @Suite.SuiteClasses@FixMethodOrder 來訂購我的測試類和測試方法.我試圖命令它們在邏輯上運行,首先測試頁面加載,然后將頁面的每個功能作為單獨的測試.一些功能,將信息移動到其他頁面,意味著其他類.我的 1 節課可能需要 1/2 多小時才能完成.如果 pre-req 測試失敗,我想短路依賴"測試,以便更快地得到我的結果/報告.

                NOTE: I realize what I'm asking is "bad Practice* for UNIT TESTS. However, I'm actually using Junit for Integration and/or Automation Testing. (Depending on your definition.) I've already found @Suite.SuiteClasses, and @FixMethodOrder to order my test classes and test methods. I'm trying to order them to run logically, testing the page load, first, then each feature of the page as a seperate test. Some of the features, move the information to other pages, meanining other classes. 1 of my classes can take over 1/2 hour to finish. If the pre-req tests fail, I'd like to short circuite the "Dependent" tests, in order to get my results/report sooner.

                推薦答案

                我建議你切換到TestNG.檢查this.

                I suggest you switching to TestNG. Check this out.

                順便說一句:當我使用 Java 工作時 - 差不多一年前 - 我沒有為 JUnit 找到這樣的解決方案.

                Btw:When I used to work with Java - almost one year ago - I didn't find such a solution for JUnit.

                這篇關于如果其他測試失敗,我可以跳過 Junit 測試嗎?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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?)
                <i id='Yh30K'><tr id='Yh30K'><dt id='Yh30K'><q id='Yh30K'><span id='Yh30K'><b id='Yh30K'><form id='Yh30K'><ins id='Yh30K'></ins><ul id='Yh30K'></ul><sub id='Yh30K'></sub></form><legend id='Yh30K'></legend><bdo id='Yh30K'><pre id='Yh30K'><center id='Yh30K'></center></pre></bdo></b><th id='Yh30K'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Yh30K'><tfoot id='Yh30K'></tfoot><dl id='Yh30K'><fieldset id='Yh30K'></fieldset></dl></div>

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

                    <bdo id='Yh30K'></bdo><ul id='Yh30K'></ul>

                      <tbody id='Yh30K'></tbody>
                  • <small id='Yh30K'></small><noframes id='Yh30K'>

                        • <legend id='Yh30K'><style id='Yh30K'><dir id='Yh30K'><q id='Yh30K'></q></dir></style></legend>

                          主站蜘蛛池模板: 天天躁日日躁性色aⅴ电影 免费在线观看成年人视频 国产欧美精品 | 高清一区二区视频 | 国产欧美精品在线观看 | 成人午夜精品 | 97av视频在线观看 | 国产精品久久二区 | 天堂久久一区 | 一区二区三区在线播放 | 97国产精品 | 爱爱无遮挡 | 欧美一级www片免费观看 | 一区二区三区免费 | 精品一区二区三区在线视频 | 99国产视频 | 久久精品这里 | 欧美一级欧美一级在线播放 | 久久精品小视频 | 中文字幕在线视频免费视频 | 久久er精品 | 国产精品久久久久久久7电影 | 成人免费看片又大又黄 | 午夜网站视频 | 久草视频在线播放 | av毛片在线免费观看 | 亚洲免费精品 | 天天天天天天天干 | 国产欧美一区二区三区在线看 | 日韩在线中文字幕 | 婷婷在线免费 | 亚洲天天| 中文字幕第7页 | 97精品一区二区 | 国产激情片在线观看 | 99久久久久久 | 亚洲精品乱码久久久久久按摩观 | 欧美日韩在线一区二区三区 | 午夜寂寞影院列表 | 亚洲综合色自拍一区 | 久久精品国产一区二区三区不卡 | 亚洲 中文 欧美 日韩 在线观看 | 91精品国产综合久久婷婷香蕉 |