[英]PhpStorm PHPUnit testreporter error
I have installed PHPUnit via Composer and set it up to run the unit tests with my installation through settings. 我已经通过Composer安装了PHPUnit并将其设置为通过设置安装我的单元测试。
But when I run the tests I get the following error for the test reporter (the tets executes just fine): 但是当我运行测试时,测试报告器会出现以下错误(tets执行得很好):
Unable to attach test reporter to test framework or test framework quit unexpectedly
无法将测试报告者附加到测试框架或测试框架意外退出
You should point to your vendor/autoload.php
at Settings | PHP | PHPUnit
您应该在
Settings | PHP | PHPUnit
指向您的vendor/autoload.php
Settings | PHP | PHPUnit
Settings | PHP | PHPUnit
when using PHPUnit via Composer. 通过Composer使用
Settings | PHP | PHPUnit
时的PHPUnit。
This blog post has all the details (with pictures) to successfully configure IDE for such scenario: http://confluence.jetbrains.com/display/PhpStorm/PHPUnit+Installation+via+Composer+in+PhpStorm 此博客文章包含成功配置IDE的所有详细信息(包括图片): http : //confluence.jetbrains.com/display/PhpStorm/PHPUnit+Installation+via+Composer+in+PhpStorm
Related usability ticket : http://youtrack.jetbrains.com/issue/WI-18388 相关可用性票证 :http: //youtrack.jetbrains.com/issue/WI-18388
PS The WI-18388 ticket is already fixed in v8.0 PS WI-18388票证已在v8.0中修复
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.