I'm going through the process of setting up and running behat on windows. The installation and set up where successful, now when trying to run it from CMD i get:
2 scenarios (2 undefined)
8 steps (8 undefined)
0m0.081s
You can implement step definitions for undefined steps with these snippets:
/**
* @Given /^I am on "([^"]*)"$/
*/
public function iAmOn($arg1)
{
throw new PendingException();
}
And so on.
I'm running the command:
F:\Program_Files\Behat\bin>Behat F:\Program_Files\Behat\vendor\behat\mink-extension\features\search.feature
I think that some resource is not being reached, so there is are all the relevant directories:
Behat: "F:\Program_Files\Behat\bin\"
Features: "F:\Program_Files\Behat\vendor\behat\mink-extension\features\"
Feature context: "F:\Program_Files\Behat\bin\features\bootstrap\FeatureContext.php"
Behat config: "F:\Program_Files\Behat\bin\behat.yml"
Trying to place the features file here: "F:\Program_Files\Behat\bin\features\search.feature" gives the same output.
Please let me know, how to succefully run behat against the *.feature file specified. Thanks.
UPDATE:
when i run " >behat -dl " there is no output - I guess I'm not reaching definition expressions.