I'm using PHPUnit version 3.6.2, and always got
PHP ReflectionException: Method suite does not exist in /pathTo/pear/PHPUnit/Runner/BaseTestRunner.php on line 113
when running single test:
phpunit path/to/my/ClassToTest.php
PHPUnit installed using pear, and I'm using php 5.3.6
are any php configurations I should fix? или это просто что-то, что PHPUnit должен исправить.
the class
<?php
class ClassToTest extends PHPUnit_Framework_TestCase{
public function testSomething(){
$this->assertTrue(true);
}
}