How do I register a custom marker with arguments #7897
-
Hello All, But I am getting following warning when I run pytest:
Content of my pytest.ini: My test case Sample: What should I do to avoid this warning? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The config file just takes the name of a marker (not its signature), so you'd just use |
Beta Was this translation helpful? Give feedback.
-
@The-Compiler I have updated the pytest.ini as follows as you suggested:
I am still getting the above error if I just run:
from the project directory But I am not getting error when I run:
|
Beta Was this translation helpful? Give feedback.
The config file just takes the name of a marker (not its signature), so you'd just use
requirements: mark test to show ...
there.