Skip to content

Add pytest deselect by variable#10

Closed
martin-kokos wants to merge 1 commit intogentoo:masterfrom
martin-kokos:mk/deselect_tests
Closed

Add pytest deselect by variable#10
martin-kokos wants to merge 1 commit intogentoo:masterfrom
martin-kokos:mk/deselect_tests

Conversation

@martin-kokos
Copy link

@martin-kokos martin-kokos commented Apr 7, 2023

EPYTEST_DESELECT appears to be popular, but there is no mention of it, so adding it to the guide.

Signed-off-by: Martin Mokry <martin-kokos@protonmail.com>
@mgorny
Copy link
Member

mgorny commented Apr 7, 2023

Your grep-foo failed. It's in the section about epytest because — obviously — it works for pytest only.

@martin-kokos
Copy link
Author

I don't understand. If I come across this page, I will start sed'ding away tests while I should go looking into pytest_utils to find out how to deselect them.

@mgorny
Copy link
Member

mgorny commented Apr 13, 2023

There's a big "Note" about it just below what you added. Perhaps change it to make the option names more explicit, and link to the detailed doc in pytest chapter.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants