I just started using Behat 3.0 with PhpStorm 8.0.
Everything works fine except that for exceptions there is no stack trace shown in PhpStorm. The test simply fails without feedback on where the failure occurred.
If I use Behat in the terminal, the stack trace can be seen with the file number and the exception line.
I tried running Behat in PhpStorm with --strict and --verbose, but still not fun.
It seems that PhpStorm uses its own Behat formatter (PhpStormBehatFormatter) to display the results, so I'm 99% sure the solution would be to change this (something that I can only do for PhpStorm).
Just wanted to check if someone else has one problem and was there a temporary job?
Note. This is a very specific Behat / PhpStorm issue. If you do not know both tools, it is best not to respond. Answers such as "create a custom exception handler" will not help.
source share