Skip to content
Merged
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
4 changes: 3 additions & 1 deletion user_guide/context/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ 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`` or ``AfterScenario`` hook with one
or more tags. You can also use ``OR`` (``||``) and ``AND`` (``&&``) tags:
or more tags. You can also use ``OR`` (``,``) and ``AND`` (``&&``) tags:

Use the ``,`` tag to execute a hook when it has *any* of the provided tags:

.. code-block:: php

Expand Down
Loading