phpunit 测试中的 echo
我一直试图在我的phpunit测试中填充,但到目前为止没有运气。echo
我阅读了有关xml配置文件的文档,显然参数就是我正在寻找的。不幸的是,它仍然不起作用。无论如何,这是我的xml配置文件:debug
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true"
processIsolation="true"
verbose="true"
debug="true">
</phpunit>
两者都被接受,但不是。processIsolation
verbose
debug
当我直接将其传递给phpunit时,该命令实际上工作得很好,如下所示:
phpunit --debug MyTest.php # here stuff is echoed correctly
但是对于xml配置文件,它看起来被忽略了。