Identify the markers for which a corresponding test file does not exist #3416
Labels
topic: marks
related to marks, either the general marks or builtin
type: question
general question, might be closed after 2 weeks of inactivity
Is there a way to list the markers for which a corresponding test file was not found?
pytest Version:
3.0.7
Scenario -
In my
tests/
directory, I have 2 test files marked using@pytest.mark
as@pytest.mark.tc1
and@pytest.mark.tc2
respectivelypytest command -
$ pwd
---->tests/
$ pytest -m 'tc1 or tc3 or tc4'
I would like to see that the tests for
tc3
andtc4
markers don't exist in the directorytests/
. Please advise!The text was updated successfully, but these errors were encountered: