报告测试中失败的方法调用或断言。 它有助于更快地检测代码中失败的行,并立即开始调试。

示例:


  function test() {
      $this->assertEquals(1,2); //highlighted
  }