Let me self-advertise a little bit. I've written a Flake8 plugin that helps to keep track of missing or wrongly written TestRail identifiers in large code bases. Works well with pytest-testrail.
Example output:
$ flake8 .
./test/test_1.py:55:1: TR001 Missing `@pytestrail.case()` decorator
./test/test_1:61:1: TR001 Missing `@pytestrail.case()` decorator
./test/test_1:68:1: TR001 Missing `@pytestrail.case()` decorator
./test/test_2:190:5: TR003 Test case ID should match "^C\d+$" pattern
Let me self-advertise a little bit. I've written a Flake8 plugin that helps to keep track of missing or wrongly written TestRail identifiers in large code bases. Works well with
pytest-testrail
.Example output:
The code is here: https://github.com/and-semakin/flake8-pytestrail Feel free to file an issue if something is wrong or missing.
And give it a star! 😄