Integrates Behat with Symfony (both 2 and 3). Inspired by Behat/Symfony2Extension.
- Built-in
symfony
driver uses different kernel than the one that is used in the contexts. This means you can always change it to any other driver without any issues and ensures that application behaviour will not be affected by stateful services.
-
Install it:
$ composer require friends-of-behat/symfony-extension --dev
-
Enable and configure in your Behat configuration:
# behat.yml default: # ... extensions: FriendsOfBehat\SymfonyExtension: ~
-
Good luck & have fun!