theY4Kman / pytest-only

pytest plug-in to run single tests with the "only" mark (perfect for use with auto-rerunners!)
https://pypi.org/project/pytest-only/
MIT License
18 stars 5 forks source link

use item.get_marker instead of checking for keywords #2

Closed RonnyPfannschmidt closed 7 years ago

RonnyPfannschmidt commented 7 years ago

a more canonical way to check for markers is item.get_marker(markname)

it filters out string based keywords

theY4Kman commented 7 years ago

Good to know. There are so many nuggets in pytest I've yet to discover.