summaryrefslogtreecommitdiff
path: root/doc/en/writing_plugins.rst
diff options
context:
space:
mode:
authorNimesh Vashistha <43320077+nimeshvashistha@users.noreply.github.com>2020-10-17 16:56:30 +0530
committerGitHub <noreply@github.com>2020-10-17 08:26:30 -0300
commit991bc7bd50772b0ae1f40b5f821f7e67745d1b2e (patch)
treef399da6d5edeea032497c81ff6f81f6a1edb1897 /doc/en/writing_plugins.rst
parentb4c28dcaa25d8c93bea6124a1e2210a3cd7b5235 (diff)
downloadpytest-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.rst4
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
-----------------------