Files
friends-of-behat-symfony-ex…/README.md
2016-11-03 11:34:51 +01:00

1.3 KiB

Symfony Extension License Version Build status on Linux Scrutinizer Quality Score

Integrates Behat with Symfony (both 2 and 3). Inspired by Behat/Symfony2Extension.

Differences

  • 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.

Usage

  1. Install it:

    $ composer require friends-of-behat/symfony-extension --dev
    
  2. Enable and configure in your Behat configuration:

    # behat.yml
    default:
        # ...
        extensions:
            FriendsOfBehat\SymfonyExtension: ~
    
  3. Good luck & have fun!