#4 /path/to/my/project/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php(150): PHPUnit_Runner_BaseTestRunner->getTest('/var/'', A in /path/to/my/project/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite. #2 /path/to/my/project/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(416): PHPUnit_Framework_TestSuite->addTestFile('/var/#3 /path/to/my/project/vendor/phpunit/phpunit/PHPUnit/Runner/BaseTestRunner.php(96): PHPUnit_Framework_TestSuite->addTestFiles(Array) #1 /path/to/my/project/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(389): PHPUnit_Framework_TestSuite->addTestSuite(Object(ReflectionClass)) #0 /path/to/my/project/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(315): PHPUnit_Framework_TestSuite->_construct(Object(ReflectionClass)) PHP Fatal error: Uncaught exception 'PHPUnit_Framework_Exception' with message 'Class "PHPUnit_Extensions_RepeatedTest" does not extend PHPUnit_Framework_TestCase.' in /path/to/my/project/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:183 Trace: /usr/bin/php /tmp/ide-phpunit.php -no-configuration /path/to/my/project the entire tests suite (74 tests with 127 assertion) using the Terminal run in 4.29 seconds while on PhpStorm run in 15.58 seconds. Sample test class: class ReaderTest extends PHPUnit_Framework_TestCase PHPUnit Tests now hang several second on the 'Instantiating Test' phase and also it become quite slow. What is wrong? When I included pear installed version test working OK. PHP Fatal error: Uncaught exception 'PHPUnit_Framework_Exception' with message 'Class "PHPUnit_Extensions_RepeatedTest" does not extend PHPUnit_Framework_TestCase.' I have little problem when I'm trying to run PHPUnit test in IDE PhpStorm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |