diff options
author | Nimesh Vashistha <43320077+nimeshvashistha@users.noreply.github.com> | 2020-10-17 16:56:30 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-17 08:26:30 -0300 |
commit | 991bc7bd50772b0ae1f40b5f821f7e67745d1b2e (patch) | |
tree | f399da6d5edeea032497c81ff6f81f6a1edb1897 /doc/en/writing_plugins.rst | |
parent | b4c28dcaa25d8c93bea6124a1e2210a3cd7b5235 (diff) | |
download | pytest-991bc7bd50772b0ae1f40b5f821f7e67745d1b2e.tar.gz |
Added note to writing_plugins.rst (#7896)
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
Diffstat (limited to 'doc/en/writing_plugins.rst')
-rw-r--r-- | doc/en/writing_plugins.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst index 0492b5fcf..41967525b 100644 --- a/doc/en/writing_plugins.rst +++ b/doc/en/writing_plugins.rst @@ -107,6 +107,10 @@ Here is how you might run it:: See also: :ref:`pythonpath`. +.. note:: + Some hooks should be implemented only in plugins or conftest.py files situated at the + tests root directory due to how pytest discovers plugins during startup, + see the documentation of each hook for details. Writing your own plugin ----------------------- |