I’ve taken a huge list definition that i’ve put on my FeatureContext That only problem is when i do : bin/behat -c app/config/behat.yml -dl they are not showing on the list
Here’s my behat.yml configuration :
default:
paths:
features: features
context:
parameters:
class: BundleMyBundle\Features\Context\FeatureContext
extensions:
Behat\Symfony2Extension\Extension:
kernel:
env: test
debug: true
Behat\MinkExtension\Extension:
default_session: sahi
javascript_session: sahi
sahi: ~
browser_name: firefox
base_url: http://myapp.dev/
The ContextClass itslef was generated when I ran --init command, and i simply added definitions in it.
What did i miss ? Thanks.
Class configuration is completely wrong 🙂
Use
extensions > Behat\Symfony2Extension\Extension > bundle: