-
Notifications
You must be signed in to change notification settings - Fork 65
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
Initial implementation of Behat ListFeaturesExtension and FastestEnviron... #7
Conversation
seems great to me, now I'm travelling in few hours I'll be at home, and I'd go deeper into the code |
great to me 👍 |
Added tests for Behat extension and updated travis file. The PHPUnit test for |
yesss pretty well. is not merge-able :( |
|
||
To install the extension just add it to your `behat.yml` file: | ||
|
||
# behat.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not parsed correctly
missing space or ```yml
Ups - sorry about that. It should be fixed now. |
Great! |
b648029
to
4a35ee5
Compare
My pleasure to be able to help :) - Commits squashed. I also added |
Just noticed the broken tests because the change I made to bootstrap. After fixing it I got a sh permission error. Maybe it has to do something with the
|
bf284fe
to
ebf93ea
Compare
OK - I removed the |
woow great!!!!! the I tried to use it with fastest itself i run [Exception]
Empty input try piping some files. and if I do Do you know why? |
Yeah, you are right about the pipe bug... (under my bash scripts that run the tests it runs correctly, but not directly in the command line as you say) it seems that the function EDIT: Also with a sleep(1) before the function it works. I think it has to do something with PHP's output buffering that comes from behat (it opens the stdout stream but delays a little while populating it, causing fastest to think that the stream is empty) |
ok, we could remove it. great job, I tweeted about you :) |
I think the pipe should be re-factored, |
Thank you for the tweet, that was nice :) About removing the stream_block func, yes, I think we can do that. I'll try to make some time today to test out if there are any negative side-effects. |
Giulio, I squashed the PR again with a change to the http header names (it was misnamed combining - and _) - I fixed it in the README, the test and the FastestEnvironment class |
👍 |
is sill WIP? What do you think to add the fastest on travis for behat ;) ? |
I made another PR with the final version, ready to be merged (#12) - travis tests will fail on that branch until merged with master (and the pipe fix) |
This PR is not meant to be integrated (tests are still missing) - I just want to make sure to have your opinion before working further in it.
I added many sections to the README, explaining some scenarios on how to use the implementation under Mink.