Unit testing 在PhpStorm中调试项目单元测试时,如何显示codecept_调试消息?
通过PhpStorm运行单元测试时,忽略函数Unit testing 在PhpStorm中调试项目单元测试时,如何显示codecept_调试消息?,unit-testing,phpstorm,codeception,Unit Testing,Phpstorm,Codeception,通过PhpStorm运行单元测试时,忽略函数codecept\u debug的输出 我已将我的测试跑步者选项设置为: 在mycodeception.yml中,我还有: settings: bootstrap: _bootstrap.php colors: true debug: true memory_limit: 1024M 在命令行上显示codecept_debug的输出尚未实现:。目前,PHPStorm仍不支持该问题,请对此问题进行投票/评论,但您可以通过
codecept\u debug
的输出
我已将我的测试跑步者选项设置为:
在mycodeception.yml中,我还有:
settings:
bootstrap: _bootstrap.php
colors: true
debug: true
memory_limit: 1024M
在命令行上显示codecept_debug
的输出尚未实现:。目前,PHPStorm仍不支持该问题,请对此问题进行投票/评论,但您可以通过以下方式解决此问题:
- 将
codecept\u调试($variable)
调用更改为echo print\r($variable,true)代码>
与使用codecept_debug
执行此操作的方式相同,在运行测试时,输出应显示在PHPStorm的终端上 上次我检查时,它不能这样做。不是我期望的答案:)希望他们能解决它。
settings:
bootstrap: _bootstrap.php
colors: true
debug: true
memory_limit: 1024M