[Zend 1.x] Installation phpunit comment faire
Bonjour à tous,
Je travail avec Zend en version 1.12.20 et je voudrait ecrire mes tests automatisé
Je suis sur une machie virtuel (vagrant) sous apache
Je suis assez débutant et je ne comprend mon erreur la voici:
Code:
1 2 3 4 5
|
sftp://root@localhost:2222/usr/bin/php /usr/local/bin/phpunit-5.7.0.phar --configuration /home/vagrant/web/tests/phpunit.xml /home/vagrant/web/tests --teamcity
Testing started at 12:03 ...
PHP Warning: require_once(/Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in /home/vagrant/web/.git/externals/library/src/proj/Application/start.php on line 111
PHP Fatal error: require_once(): Failed opening required '/Zend/Loader/Autoloader.php' (include_path=':.:/usr/share/php5:/usr/share/php5/PEAR') in /home/vagrant/web/.git/externals/library/src/proj/Application/start.php on line 111 |
Je vous ai joint egalement mon fichier start.php le voici:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
/ path to application rooth
defined('APPLICATION_PATH_ROOT')
?: define('APPLICATION_PATH_ROOT', realpath(getcwd()));
// path to library
defined('APPLICATION_PATH_LIBRARY')
?: define('APPLICATION_PATH_LIBRARY', realpath(APPLICATION_PATH_ROOT . '/library/'));
...
// enable PSR-0 autoloading
require_once APPLICATION_PATH_LIBRARY . '/Zend/Loader/Autoloader.php'; //ligne 111
Zend_Loader_Autoloader::getInstance()
->suppressNotFoundWarnings(true)
->setFallbackAutoloader(true);
... |
j'attends vos réaction. Merci