Skip to content
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

Integration with CrossContainerExtension - docs? #20

Closed
pamil opened this issue Jul 10, 2017 · 4 comments
Closed

Integration with CrossContainerExtension - docs? #20

pamil opened this issue Jul 10, 2017 · 4 comments

Comments

@pamil
Copy link
Member

pamil commented Jul 10, 2017

No description provided.

@warslett
Copy link

+1 I pressume the idea with CrossContainerExtension is that it allows you to use services belonging to the kernel's container including the entity manager etc. Unfortunately the repo doesn't explain in anyway how to use it. Since Symfony 4 makes all services private by default, behat has become pretty useless because you can't access those services you need to create test data or interact with the application in any way.

@jcornide
Copy link

jcornide commented Jun 7, 2018

Hi,

I like the FOB projects but the lack of documentation is really an issue here. I don't know how to inject the entity manager to a behat service and I didn't find any documentation about it

@warslett
Copy link

warslett commented Jun 7, 2018

@jcornide there is an open issue regarding this on the symfony behat extension which you might want to follow: Behat/Symfony2Extension#128

@pamil
Copy link
Member Author

pamil commented Jan 24, 2019

CrossContainerExtension is now deprecated, please take a look at the brand new FOB/SymfonyExtension v2 which solves issues with private services, autowiring and provides a smoother learning curve (and there are some docs)!

@pamil pamil closed this as completed Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants