如何在 phpunit 测试期间查看完整的警告消息?

问题描述

终端只告诉我There was 1 Warning:。但是我怎样才能看到完整的警告信息以及它是从哪里触发的呢?

Screenshot of terminal

--- 这是我的 PHPunit.xml 文件

<?xml version="1.0"?>
<PHPunit
        colors="true"
        verbose="true"
        stopOnFailure="false"
        convertErrorsToExceptions="true"
        convertNoticesToExceptions="true"
        convertWarningsToExceptions="true"
>
    <testsuites>
        <testsuite name="tests">
            <directory>tests</directory>
        </testsuite>
    </testsuites>
</PHPunit>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)