-
Notifications
You must be signed in to change notification settings - Fork 73
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
Can't install the dependencies on a Laravel 5.6 project #80
Comments
At the moment, I think you'd need to use these changes (or something similar) to get L5.6 deps working right with Behat. I have been doing so for a couple weeks now, and it seems fine. However, until Behat/Behat#1163 is merged, you would also need to use the flaxandteal/Behat branch referenced there for Behat. I haven't PR'd on this repo yet, pending Behat/Behat#1163 (as it's only useful as a pair), but they are not actually interdepedent, so I can set up a PR here and get the ball rolling? |
Thank you @philtweir! I finally managed to set up Behat for L5.6 without the extension. My Behat tests can interact with the database using Capsule as explained here. |
Btw, here is a basic example on how to use Behat for L5.6 with Capsule :)
|
Cool! That's a really nice option, especially as I can see it often being a better match than the spinning up all the non-DB utils - may take a look at the approach in general for some of our needs. Just as an update for those who have slightly more specific reqs (e.g. our team's API testing plugin), #81 should address the underlying bug. |
When pulling the dependencies through Composer:
I got the output:
The following workaround seems to do the trick:
However I feel as if jumping into the unknown as described at Behat/Behat#1108. Can
laracasts/Behat-Laravel-Extension
be used with Laravel 5.6?The text was updated successfully, but these errors were encountered: