Load Behat CommonContexts from Symfony2

To load common contexts for behat on a symfony2 project we basically add to deps and also to autoload as follows:

// to deps
// to autoload.php
'Behat\CommonContext'       => __DIR__.'/../vendor/behat/CommonContexts',

Then do a `bin/vendors install` and then run your behat scenarios!

Leave a Reply

Your email address will not be published. Required fields are marked *