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
{{ message }}
Repository navigation
Document [pytest] configuration in pytest.toml / .pytest.toml #261
However, pytest.toml and .pytest.toml can also contain pytest configuration directly under the [pytest] table, and pytest-env options can be configured there, for example:
[pytest]
env = [
"HOME=~/tmp",
"RUN_ENV=test",
]
The current INI configuration format section shows the equivalent configuration for pytest.ini and pyproject.toml, but does not show or mention the pytest.toml / .pytest.toml form.
It would be useful to document this explicitly, so users do not get the impression that pytest.toml must use the plugin-specific [pytest_env] table.
Activity