[py-dev] steps to include a new plugin

Adam Goucher adam at goucher.ca
Mon Nov 26 17:25:29 CET 2012


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.?

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

-adam



More information about the Pytest-dev mailing list