Skip to content

Commit

Permalink
Merge pull request #213 from gl2748/patch-1
Browse files Browse the repository at this point in the history
Update globalinstall.rst re `FeatureContext` not found error/
  • Loading branch information
jhedstrom committed Sep 16, 2015
2 parents 3a7f93a + a7d65b3 commit cbf034d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/globalinstall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ Set up tests

This will make your FeatureContext.php aware of both the Drupal Extension and
the Mink Extension, so you'll be able to take advantage of their drivers and
step definitions and add your own custom step definitions here.
step definitions and add your own custom step definitions here.
The FeatureContext.php file must be in the same directory as your behat.yml
file otherwise in step 5 you will get the following error:

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


5. To ensure everything is set up appropriately, type::

Expand Down

0 comments on commit cbf034d

Please sign in to comment.