Skip to content

PytrizeJumpFixture doesn't work within a folder #9

@Alex23rodriguez

Description

@Alex23rodriguez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions