Quote from
QABash.ai on 14 April 2025, 12:01 AM
Suppose u set custom marker using pytest and get warnings like:
PytestUnknownMarkWarning: Unknown pytest.mark.smoke - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
Command to diasable warnings using argument: pytest -m "smoke" -rA -v --disable-warnings
Suppose u set custom marker using pytest and get warnings like:
PytestUnknownMarkWarning: Unknown pytest.mark.smoke - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
Command to diasable warnings using argument: pytest -m "smoke" -rA -v --disable-warnings