allankp / pytest-testrail

pytest plugin for integration with TestRail, for creating testruns and updating results
MIT License
95 stars 125 forks source link

register mark testrail to avoid the pytest warning #95

Closed kobenguyent closed 5 years ago

kobenguyent commented 5 years ago

This aims to avoid this warning

venv/lib/python3.7/site-packages/_pytest/mark/structures.py:337
  /Users/thanhnguyen/Desktop/conan/venv/lib/python3.7/site-packages/_pytest/mark/structures.py:337: PytestUnknownMarkWarning: Unknown pytest.mark.testrail - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    PytestUnknownMarkWarning,

-- Docs: https://docs.pytest.org/en/latest/warnings.html