In the class PHPUnit_Framework_TestCase, line 352 if ($this->name === NULL) { throw new PHPUnit_Framework_Error( ‘PHPUnit_Framework_TestCase::$name must not be NULL.’ ); } If the var $this->name is NULL, it throws the exception PHPUnit_Framework_Error. But, the PHPUnit_Framework_Error’s constructor is (line 77): public function __construct($message, $code, $file, $line, $trace) 如果捉虫能拿奖金,我可能已经是百万富翁了。闷,搞了半天,才发现原来是个 issue。再做回善事,发到 PHPUnit …
Tag Archives: phpunit
xdebug、phpunit、phpdocumentor 都更新了
点发疯。 7月19日xdebug 更新到2.0; 7月23日phpunit 更新到3.1.4; 同日phpDocumentor 更新到1.4.0。 最近的更新真多啊!