![]() The pytest rootdir is the directory containing pytest.ini (or similar): https://docs.pytest.org/en/latest/reference/customize.html#rootdir This allows you to run pytest when the current working directory isn't the same as the directory containing the tests. I need to do that because in my system, the directory containing the tests is on a read-only filesystem. |
||
---|---|---|
.. | ||
args | ||
feature | ||
generation | ||
library | ||
scripts | ||
steps | ||
__init__.py | ||
conftest.py | ||
test_hooks.py | ||
utils.py |