Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/globalinstall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ Set up tests
3. Initialize behat. This creates the features folder with some basic things to
get you started::

bin/behat --init
bin/behat -c sites/default/behat-tests/behat.yml --init

4. This will generate a FeatureContext.php file that looks like:
4. This will generate a `sites/default/behat-tests/features/FeatureContext.php` file that looks like:

.. literalinclude:: _static/snippets/FeatureContext.php.inc
:language: php
Expand All @@ -95,7 +95,7 @@ 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.
The FeatureContext.php file must be in the same directory as your behat.yml
The `features/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]
Expand All @@ -104,7 +104,7 @@ Set up tests

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

behat -dl
behat -c sites/default/behat-tests/behat.yml -dl

You'll see a list of steps like the following, but longer, if you've
installed everything successfully:
Expand Down