我需要一些支持。 :)我如何運行symfonys測試?
我克隆symfony的/ symfony的回購,跑composer update
並試圖運行測試時,我得到這樣的:
[emil:~/Development/symfony](2.8) $ php ./phpunit symfony
Warning: require(/Users/emil/Development/symfony/.phpunit/phpunit-4.8/vendor/autoload.php): failed to open stream: No such file or directory in /Users/emil/Development/symfony/.phpunit/phpunit-4.8/phpunit on line 4
Fatal error: require(): Failed opening required '/Users/emil/Development/symfony/.phpunit/phpunit-4.8/vendor/autoload.php' (include_path='.:') in /Users/emil/Development/symfony/.phpunit/phpunit-4.8/phpunit on line 4
PHP Warning: require(/Users/emil/Development/symfony/.phpunit/phpunit-4.8/vendor/autoload.php): failed to open stream: No such file or directory in /Users/emil/Development/symfony/.phpunit/phpunit-4.8/phpunit on line 4
PHP Fatal error: require(): Failed opening required '/Users/emil/Development/symfony/.phpunit/phpunit-4.8/vendor/autoload.php' (include_path='.:') in /Users/emil/Development/symfony/.phpunit/phpunit-4.8/phpunit on line 4
KO src/Symfony/Bridge/Doctrine
我的PHP版本:
[emil:~/Development/symfony](2.8) $ php -v
PHP 5.5.30 (cli) (built: Oct 3 2015 23:48:03)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
我在OS X 10.11.1。有沒有人有什麼建議?
到目前爲止,我所做的唯一的事情就是克隆回購,按照本指南:https://symfony.com/doc/current/contributing/code/tests.html