You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a source of great frustration and confusion. It took me a while to figure out especially since I'm new python. The docs here need to be updated to reflect this important change in behavior:
I have 7.2.2 of pytest installed. With a conftest installed in each dir above where I'm running tests, I see:
But with 8.3.3 run from the same directory:
With 8.3.3, only the conftest in the current directory is loaded unless I explicitly set --confcutdir.
This is the result of change #11043. See https://docs.pytest.org/en/latest/changelog.html#id213 for more details.
This was a source of great frustration and confusion. It took me a while to figure out especially since I'm new python. The docs here need to be updated to reflect this important change in behavior:
https://docs.pytest.org/en/stable/how-to/writing_plugins.html#plugin-discovery-order-at-tool-startup
The text was updated successfully, but these errors were encountered: