Skip to content

Commit 1ab306b

Browse files
committed
Clarify hook requirements
1 parent c78090f commit 1ab306b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ be ``'before'`` or ``'after'`` and ``STAGE`` any of ``'feature'``,
112112
All hooks are expected to take one argument: the ``TestCase`` subclass
113113
for the active feature.
114114

115+
As with steps, hooks must be directly present in the feature's
116+
``__init__.py`` in order to be run.
117+
115118
Scenario Outlines
116119
-----------------
117120

0 commit comments

Comments
 (0)