Can you parse pytest marks as tags in Testomat.io?
Yes — starting with pytestomatio 2.13.0b0 (beta), pytest markers can be synced to Testomat.io as tags.
-
Install the version with tags support
pip install pytestomatio==2.13.0b0 -
Define which markers become tags with the
TESTOMATIO_TAG_MARKERSenvironment variable (an allowlist — pytest and plugin service markers are not picked up automatically):TESTOMATIO_TAG_MARKERS=smoke,release -
Or add tags with the dedicated marker:
pytest.mark.testomatio_tags("smoke", "release")
- Implementation details: pytestomatio#97