Unable to run Moodle Behat scripts with PHP Storm 2016.2

Hello, I am trying to run default Behat feature files of Moodle but finding below error msg:

[Behat\Behat\Context\Exception\ContextNotFoundException]
`FeatureContext` context class not found and can not be used.

I configured PHP and Behat under Settings menu, but still finding this error. Kindly let me know if anymore settings I need to do before running the feature file.

Thanks.

 

1 comment
Comment actions Permalink

Hello,

Does it work from command line?

Did you check your config files? It may be something like https://github.com/Behat/Behat/issues/648.

0

Please sign in to leave a comment.