Skip to content

Using dependency ordering with -k #64

Open
@AbdealiLoKo

Description

I was looking at pytest-dependency and came across pytest-order.
It looks pretty neat and works in the way I was hoping it would. It's amazing how this library works !

One issue I found was that when I take the example at:
https://pytest-dev.github.io/pytest-order/stable/configuration.html#order-dependencies
And run:
pytest -k test_a
It will say 1 skipped, 1 deselected

Which becomes a bit inonvenient because if I want to run a single test, I would want the "dependencies" of that test to also run.
Is there a flag I can use to "select" my test as well as it's dependencies ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions