I have a project for which i have written features/scenarios in Behat, which is almost completed now. I have to test the email functionality on the site for which symfony comes in handy. But, i could not find any tutorial that helps me configure symfony from within Behat. Most of the sites provide Behat in Symfony and not the other way.
This is the article i found that has some information on configuration but it is not complete. http://extensions.behat.org/symfony2
This article http://docs.behat.org/cookbook/using_the_profiler_with_minkbundle.html gives code to check email functionality, but it does not say how to configure symfony in Behat. I have symfony extension installed.
This is my composer.json contents:
{
"require": {
"behat/behat": "*",
"behat/mink": "1.4.0",
"behat/mink-goutte-driver": "*",
"behat/mink-selenium-driver": "*",
"behat/mink-selenium2-driver": "*",
"behat/mink-sahi-driver": "*",
"behat/mink-zombie-driver": "*",
"drupal/drupal-extension": "*",
"symfony/process": "*",
"behat/symfony2-extension": "*",
"symfony/form": "*",
"symfony/validator": "*",
"behat/mink-extension": "*",
"symfony/http-kernel": "*",
"fabpot/goutte": "dev-master#5f7fd00"
},
"minimum-stability": "dev",
"config": {
"bin-dir": "bin/"
}
}
Can anyone please guide me here?