Skip to content

docs: Clarify difference between PYTEST_PLUGINS and -p option#13840

Closed
shiva-39 wants to merge 1 commit intopytest-dev:mainfrom
shiva-39:fix-pytest-plugins-docs
Closed

docs: Clarify difference between PYTEST_PLUGINS and -p option#13840
shiva-39 wants to merge 1 commit intopytest-dev:mainfrom
shiva-39:fix-pytest-plugins-docs

Conversation

@shiva-39
Copy link

Added a note to the PYTEST_PLUGINS environment variable documentation explaining the difference between PYTEST_PLUGINS and the -p command-line option. This addresses issue #13388 by clarifying that PYTEST_PLUGINS is processed before command-line arguments, making it suitable for always loading plugins, while -p is better for one-time plugin loading or testing.

Added a note to the PYTEST_PLUGINS environment variable documentation explaining the difference between PYTEST_PLUGINS and the -p command-line option. This addresses issue pytest-dev#13388 by clarifying that PYTEST_PLUGINS is processed before command-line arguments, making it suitable for always loading plugins, while -p is better for one-time plugin loading or testing.
@bluetech
Copy link
Member

You've removed the entire file by accident?

@bluetech bluetech closed this Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants