SymfonyExtension icon indicating copy to clipboard operation
SymfonyExtension copied to clipboard

Isolation is not clear

Open ruudk opened this issue 6 years ago • 1 comments

I'm coming from Behat/Symfony2Extension and was reading the differences here: https://github.com/FriendsOfBehat/SymfonyExtension/blob/master/docs/04_bs2e_differences.md#isolated-driver

I don't fully understand it. Does FriendsOfBehat/SymfonyExtension have fully isolated contexts from the driver? Or does Behat/Symfony2Extension have it?

If FriendsOfBehat/SymfonyExtension is fully isolated, how can you change the container's state from a context?

ruudk avatar Mar 27 '19 08:03 ruudk

Indeed, the docs look quite ambiguous. I'll try to update them soon.

FriendsOfBehat/SymfonyExtension has fully isolated contexts from the driver. What we recommend is not to affect the driver's container state from the context, so that you can switch the driver anytime (eg. from symfony to selenium2 or something else).

pamil avatar Apr 09 '19 07:04 pamil