I'm working on a project where tests are organized into folders. I'd love for PytrizeJumpFixture to search on the parent directory as well. For example, if we have the following test folder structure:
test_one.py
conftest.py
test_scope/test_two.py
with the contents of conftest.py being
import pytest
@pytest.fixture(scope="session")
def myfix():
return 123
and the contents of both test_one.py and test_two.py being
def test_one(myfix):
pass
then PytrizeJumpFixture works for the first one, but not for the second one
I'm working on a project where tests are organized into folders. I'd love for
PytrizeJumpFixtureto search on the parent directory as well. For example, if we have the following test folder structure:with the contents of
conftest.pybeingand the contents of both
test_one.pyandtest_two.pybeingthen
PytrizeJumpFixtureworks for the first one, but not for the second one