CakePHP 3.x で単体テストを実行するように PhpStorm 10.x を構成する検証済みの方法を知っている人はいますか?
編集:@ndmの回答の後、PhpStorm構成を修正し、「phpunit.xml.dist」をPHPUnitに追加しました>テストランナー:デフォルト構成ファイルをチェックしました。
今、私は別のエラーがあります
/Applications/MAMP/bin/php/php5.6.10/bin/php /Applications/MAMP/htdocs/sites/my_app/vendor/phpunit/phpunit/phpunit --configuration /Applications/MAMP/htdocs/sites/my_app/vendor/phpunit/phpunit/phpunit.xml.dist /Applications/MAMP/htdocs/sites/my_app --teamcity
Testing started at 12:29 ...
PHP Warning: require(/Applications/MAMP/htdocs/sites/my_app/vendor/phpunit/phpunit/tests/../vendor/autoload.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/sites/my_app/vendor/phpunit/phpunit/tests/bootstrap.php on line 3
PHP Fatal error: require(): Failed opening required '/Applications/MAMP/htdocs/sites/my_app/vendor/phpunit/phpunit/tests/../vendor/autoload.php' (include_path='.:/Applications/MAMP/bin/php/php5.6.10/lib/php') in /Applications/MAMP/htdocs/sites/my_app/vendor/phpunit/phpunit/tests/bootstrap.php on line 3
Process finished with exit code 255
Run Config で、PHPUnit: Test Runner -> Test Scope -> Directory:
/Applications/MAMP/htdocs/sites/my_app/src