<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                在TP單元測試擴展中,增加的斷言最多便是seeXX斷言系列。在快速入門的例子中,我們就使用了see斷言函數。在擴展中,還有其他的see函數,他的名字通常是seeXX,比如seeJson。 # see 接收兩個參數,用于斷言一個正則是否在結果中可以匹配。第二個參數是布爾值,當為假的時候斷言第一個參數在結果中匹配。當為真的時候斷言第一個參數不在結果中匹配。 @param string $text 欲查找的文本 @param boolean $negate 非操作 # notSee 本方法使用了see,并且設置see的第二個參數為真。 @param string $text 欲查找的文本 # seeJson 內部使用seeJsonContains,用于斷言某個json是否在結果中 @param array $data 期望的json @param boolean $negate 非操作,為真時是期望$data不在結果中 # seeJsonEquals 斷言json是否跟結果相等。 @param array $data 傳入一個數組,排序再轉換成json 其內部會將實際值轉回成數組進行排序后再跟$data排序后轉換成的json進行斷言。 # seeJsonContains 斷言某個json是否在結果中。 @param array $data 期望的與斷言的json數據 @param boolean $negate 非操作 # seeModule 用于斷言請求中的模塊。 @param string @module 欲斷言的模塊名字 `$this->visit('/index/index/index')->seeModule('index');` # seeController 用于斷言請求中的控制器。 @param string @controller 欲斷言的控制器名字 `$this->visit('/index/index/index')->seeController('Index');` >注意,控制器首字母是需要大寫的。 # seeAction 用于斷言請求中的操作。 @param string @action 欲斷言的操作名字 `$this->visit('/index/index/index')->seeAction('index');` # seeStatusCode 用于斷言response的狀態碼。 @param int $status 狀態碼 # seeHeader 用于斷言response的head部。 @param string $headerName 頭部的某個項 @param string $value 項值 # seeCookie 用于斷言Cookie中是否存在某個值。 @param string $cookieName cookie的某個項名 @param string $value 項值
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看