Skip to content

Commit

Permalink
Remove step hooks from the list of tag-filterables
Browse files Browse the repository at this point in the history
  • Loading branch information
everzet committed Aug 21, 2016
1 parent be9d70b commit 4185405
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions user_guide/context/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,8 @@ Tagged Hooks

Sometimes you may want a certain hook to run only for certain scenarios,
features or steps. This can be achieved by associating a ``@BeforeFeature``,
``@AfterFeature``, ``@BeforeScenario``, ``@AfterScenario``, ``@BeforeStep`` or
``@AfterStep`` hook with one or more tags. You can also use ``OR`` (``||``)
and ``AND`` (``&&``) tags:
``@AfterFeature``, ``@BeforeScenario`` or ``@AfterScenario`` hook with one
or more tags. You can also use ``OR`` (``||``) and ``AND`` (``&&``) tags:

.. code-block:: php
Expand All @@ -289,4 +288,4 @@ Use the ``&&`` tag to execute a hook only when it has *all* provided tags:
// clean database fixtures
// before @database @fixtures
// scenarios
}
}

0 comments on commit 4185405

Please sign in to comment.