Flake8 plugin to check for missing or wrong TestRail test identifiers
MIT License
A companion Flake8 plugin for pytest-testrail package.
pip install flake8-pytestrail
or if you use poetry:
poetry add --dev flake8-pytestrail
⚠️ At the moment plugin assumes that you use default
pytest
configuration (test files are all can be matched by**/test_*.py
glob). It also assumes that you want all test cases to have been registered inside of TestRail and have ID.
flake8 .
@pytestrail.case()
decorator@pytestrail.case()
decorators"^C\d+$"
patternThere is no way to configure the plugin at the moment.