phpunit is not working: "src/TextUI/Command.php" -


i have cakephp-2.0 in vagrant on ubunto-12.04, installed phpunit-3.7.* using composer. when try run test, shows following error:

fatal error: require_once(): failed opening required 'src/textui/command.php' (include_path='/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/phpunit/php-text-template:/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/phpunit/phpunit-mock-objects:/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/phpunit/php-timer:/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/phpunit/php-token-stream:/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/phpunit/php-file-iterator:/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/phpunit/php-code-coverage:/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/phpunit/phpunit:/home/vagrant/test-phpunit/cakephp-2.0/app/vendor/symfony/yaml:/home/vagrant/test-phpunit/cakephp-2.0/lib:.:/usr/share/php:/usr/share/pear') in /home/vagrant/test-phpunit/cakephp-2.0/app/testsuite/caketestsuitecommand.php on line 21

try append following line app/config/bootstrap.php. works me (cakephp 2.6.1 using composer.)

define('__phpunit_phar__', ''); 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -