I'm trying to test the bundles Behat and Mink, but I have a problem
I well installed the bundles
I have launched: php app / console test-e = Behat - init @ AcmeDemoBundle, the folder Features was created
I wrote a scenario in essai.feature
I have launched: php app / console test-e @ Behat AcmeDemoBundle, I have got this result
Feature: Test In order to test As a developer I Need To Be Able to submit a contact form
Scenario: Navigate to the welcome page # src \ Acme \ DemoBundle \ Features \ >essai.feature: 6 Given I am on "/ crud / Article"
Scenario 1 (1 undefined) 1 step (1 undefined) 0m0.243s
You Can Implement step definitions for undefined steps with snippets thesis:
/ ** * @ Given / ^ I am on "([^"] *) "$ / * / public function iAmOn ($ argument1) { throw new PendingException (); }
- When I tried to implement the definitions, I have launched php app / console test-e @ Behat AcmeDemoBundle -dl
But, I get nothing at all! nothing is executed and the file FeatureContext is not modified
Please help me to find a solution