V
V
Vladimir Chernyshev2012-01-13 14:30:08
phpstorm
Vladimir Chernyshev, 2012-01-13 14:30:08

PHPStorm+PHPUnit - how to disable stack trace?

I decided to cover god-object with tests, PHPUnit made a test class skeleton with

$this->markTestIncomplete('This test has not been implemented yet.');
Now, at startup, the entire output window is full of stack traces. How to turn them off?
Googled - JetBrains presents this as a feature, it doesn't work for someone and they ask how to enable it, but on the contrary, I need to disable it. php.ini and conf.d/xdebug.ini are empty, xdebug.show_exception_trace is not set to 1.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
seregagl, 2012-07-06
@seregagl

Came to this question from Google with the same problem. As far as I understand, this is all happening under Windows?
There was a bug in phpUnit, Windows filenames were built incorrectly, so when checking exceptions, the files of phpUnit itself fell into the trace, although they should be skipped. I fixed it, then I saw that in the latest versions this bug was closed, so it's enough to update.

S
seregagl, 2012-07-06
@seregagl

What about traces on your files or on phpUnit files?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question