Skip to content

Commit

Permalink
Merge pull request jhedstrom#166 from pjonckiere/master
Browse files Browse the repository at this point in the history
Add behat --init to the globalinstall documentation
  • Loading branch information
jhedstrom committed Jul 14, 2015
2 parents 3f819d4 + 746d092 commit 3e66253
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/globalinstall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ Set up tests
:language: yaml
:linenos:

3. This will generate a FeatureContext.php file that looks like:
3. Initialize behat. This creates the features folder with some basic things to
get you started::

bin/behat --init

4. This will generate a FeatureContext.php file that looks like:

.. literalinclude:: _static/snippets/FeatureContext.php.inc
:language: php
Expand All @@ -91,7 +96,7 @@ Set up tests
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.

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

behat -dl

Expand Down

0 comments on commit 3e66253

Please sign in to comment.