Hi Adam, On Mon, Nov 26, 2012 at 11:25 -0500, Adam Goucher wrote: > If I wanted to try and add https://github.com/adamgoucher/pytest-marks > to the main pytest distribution. Is there a process for consideration, > code style rules, etc.?
posting here is just fine. After discussion and agreement a pull request with tests and docs would be the next step. > The idea of this plugin is to allow script creators to not have to do > > @pytest.mark.red > @pytest.mark.green > @pytest.mark.blue > @pytest.mark.black > @pytest.mark.orange > @pytest.mark.pink > def some_test_method(self): > # some check-y stuff > > but rather > > @pytest.marks('red', 'green', 'blue', 'black', 'orange', 'pink') > def some_test_method(self): > # some check-y stuff I can see how each mark consuming a line can be cumbersome. I wonder if there would be a way to have less line noise, however. For example:: @pytest.mark.red.green.blue.black.orange.pink def test_method(...): ... best, holger > -adam > _______________________________________________ > py-dev mailing list > py-dev@codespeak.net > http://codespeak.net/mailman/listinfo/py-dev > _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev