1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        specs2Scala 軟件測試庫

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

        Specs2是一個用于編寫可執(zhí)行軟件說明的Scala庫。可以用它來編寫可知性測試和性能測試。

        示例代碼:

          import org.specs2.mutable._
        
          class HelloWorldSpec extends Specification {
        
            "The 'Hello world' string" should {
              "contain 11 characters" in {
                "Hello world" must have size(11)
              }
              "start with 'Hello'" in {
                "Hello world" must startWith("Hello")
              }
              "end with 'world'" in {
                "Hello world" must endWith("world")
              }
            }
          }

         

        瀏覽 23
        點(diǎn)贊
        評論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點(diǎn)贊
        評論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            黄色国产91 | 色综合中文字幕 | 插小穴网站| 免费观看黄色视频 | 男女肉粗暴进来 | 操逼免费网站视频 | 五月婷婷狠狠爱 | 艹你综合 | 中国亂倫一級A片 | 妈妈你真棒插曲快来救救我电影评书 |