0

真ん中に closeWindow() 関数を持つテストケースがサーバーエラーとの通信で失敗し、別のテストケースがそうでない理由を誰かが説明してくれますか?

失敗した:

public function test1()
{
    $this->url('http://www.yahoo.com');
    $this->closeWindow();             
    $this->url('http://www.google.com');

}

合格した:

public function test1()
{
    $this->url('http://www.yahoo.com');                 
    $this->url('http://www.google.com');

}

closeWindow() は、close() とは異なり、セッションをクリアすることを想定していませんよね?

4

0 に答える 0