Hi all,

while trying to turn various internal markers of a work project
into public plugins, i noticed a very plain problems - different other
plugins used the same generic marker name for different purposes/intents

such a flat namespace really doesn't scale

as such i would like to propose having marker types and objects as
importable objects


for example



import pytest
from pytest_bugzilla import Blocker


@pytest.mark(Blocker(123))
def test_fun():
  pass

that way we can do both, reuse python name-spacing *and* use more
meaningful objects for markings

-- Ronny

-- 

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Eric Shander
_______________________________________________
pytest-dev mailing list
pytest-dev@python.org
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to