Behat / BehatBundle

Behat v2.0 BDD framework integration bundle for Symfony2

Home Page:http://docs.behat.org/bundle/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not use this bundle with behat 2.4.0

oleksiizozulenko opened this issue · comments

When I updated behat to the 2.4.0 via composer and tried to run come feature I get error

 [ErrorException]
 Warning: Missing argument 1 for Behat\Behat\DependencyI
 njection\BehatExtension::__construct(), called in /home
 /obb/git/code/symfony/vendor/behat/behat-bundle/Behat/B
 ehatBundle/DependencyInjection/BehatExtension.php on li
 ne 31 and defined in /home/obb/git/code/symfony/vendor/
 behat/behat/src/Behat/Behat/DependencyInjection/BehatEx
 tension.php line 36

BehatBundle does not work with Behat 2.4 and will not be updated. There is now a Symfony2Extension instead as the concept of using a bundle to put behat into Symfony was flawed

@stof : A lot of people having this issue/question, it would be cool to add a big warning in the main README file.