Change the way PHPStorm displays (unexpected) exceptions in phpunit tests
When I run tests in linux console I get a result like:
<Exception class>: <message>
<stack trace>
But in phpstorm I don't see the exception class. Am I doing something wrong or it's a phpstorm bug?
Please sign in to leave a comment.
I've got this same problem. The documentation says that the test runner displays the raw output from PHPUnit, but clearly there is some parsing/filtering happening.
For example, when running PHPUnit from the command line, I receive this response followed by a stack trace:
In the Test Runner output window I get this response followed by a stack trace.
Filtering out the exception class in these results makes the failure message meaningless.
Is there a way to change this behavior?
It's a bug, please vote: https://youtrack.jetbrains.com/issue/WI-37135