<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          RoboSpockAndroid 測試框架

          聯(lián)合創(chuàng)作 · 2023-10-01 15:11

          RoboSpock 是一個開源的 Android 測試框架。提供簡單的編寫 BDD 行為驅動開發(fā)規(guī)范的方法,使用 Groovy 語音,支持 Google Guice 庫。RoboSpock 合并了 RobolectricSpock 的功能。

          示例代碼:

          def "should display hello text"() {
              given:
              def textView = new TextView(Robolectric.application)
          
              and:
              def hello = "Hello"
          
              when:
              textView.setText(hello)
          
              then:
              textView.getText() == hello
          }
          瀏覽 5
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  操逼免费| 豆花AV网站在线观看 | 亚洲欧洲高清视频免费 | 我要看黄色一级片 | 国产日皮视频免费观看 |