Having all options from all conftest.py for all collected tests #3212
Labels
topic: config
related to config handling, argument parsing and config file
type: question
general question, might be closed after 2 weeks of inactivity
Hello.
In directory structure:
i have "pytest_addoption" hook in
/tests_A/conftest.py
and/tests_B/conftest.py
with options which are related to tests intests_A.py
andtests_B.py
, and in/conftest.py
options common for both.If i call ptyest from
/tests_A/
or/tests_B/
i have options available for those tests. However if i call pytest from/
specific options are unrecognized. Im aware that i could write all options in/conftest.py
. but due clean code, I'd rather have it separated.I there a way to achieve this?
Thank you for your time.
The text was updated successfully, but these errors were encountered: