Hey Ronny, On Wed, Sep 7, 2016 at 10:45 AM Ronny Pfannschmidt <rpfan...@redhat.com> wrote:
> such a flat namespace really doesn't scale > > as such i would like to propose having marker types and objects as > importable objects > I'm not against adding support for it, but I wouldn't change it to be the "recommended way" to do it: breaks backward compatibility and having more than one way to do it might be confusing to users. Perhaps mentioning it in some advanced session in the docs. > import pytest > from pytest_bugzilla import Blocker > > > @pytest.mark(Blocker(123)) > def test_fun(): > pass > What do you think would be the requirements for the Blocker object? Cheers, Bruno.
_______________________________________________ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev