Skip to content

Commit

Permalink
Add note documenting pytest-dev#2257
Browse files Browse the repository at this point in the history
  • Loading branch information
vmuriart committed Feb 17, 2017
1 parent 58d7f4e commit d3b5d08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/en/example/simple.rst
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,12 @@ and nothing when run plainly::
======= no tests ran in 0.12 seconds ========

.. note::

This function should be implemented only in plugins or ``conftest.py``
files situated at the tests root directory due to how pytest
:ref:`discovers plugins during startup <pluginorder>`.

profiling test duration
--------------------------

Expand Down

0 comments on commit d3b5d08

Please sign in to comment.