-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ErrorTester don't work with Behat Exception #2
Comments
I don't know how to handle the exception, I tried with events and try/catch on |
this is totally expected, because |
@pocky Any luck with the PR? If it's not PR-ready, could you at least make a gist of the modification needed to get it to work? |
Is this with the exceptions and handlers introduced in behat 3.2? If so I think they should remove the need for this extension altogether if they are used instead of this extension's error observers. |
@RemiWoler The problem is the gap between current version (phpspec 2, multi-repository) and my working one (phpspec3, monorep, many PR on extensions). I didn't take time to apply/tests changes on 0.3.0 with Behat 2/3 and phpspec 2 (I tried quickly and it was not good). Working version for behat 3/phpspec 3 is here pocky/BehatSpec@f72ea6a |
@RemiWoler Working version for Behat3/phpspec2 is here richardmiller-zz/BehatSpec#11 |
error_get_last()
return NULL for Behat Exception so exemplify can't work. Could you confirm this?BehatSpec/src/Extension/ErrorExtension/src/Tester/ErrorTester.php
line 89The text was updated successfully, but these errors were encountered: