Hello, Why don't you want to add markers to pytest.ini config? For now, you can add custom run options to the pytest.ini file.
[pytest]addopts = -m my_marker But I agree that separate option for run marked tests would be better. [pytest]addopts = -s -v markers_to_run = my_marker1, my_marker2 ср, 10 июл. 2019 г. в 02:19, Jim Brännlund <[email protected]>: > Nice! > > It looks similar to something that I did a while back: > https://github.com/Projectplace/pytest-tags > > -- > Jim Brännlund > [email protected] > > > > On Tue, Jul 9, 2019, at 3:35 AM, Reece Hart wrote: > > I would appreciate feedback/code review on a pytest plugin (my first!) > that I wrote today to simplify the use of pytest markers for optional > tests. Code is at https://github.com/reece/pytest-optional-tests. tests > and pypi deployments (via travis) are already available. > > I'm open to all comments: utility, clarity of terms, and certainly > implementation. Comments preferred via github, but on this list is okay too. > > Thanks, > Reece > _______________________________________________ > pytest-dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/pytest-dev > > > _______________________________________________ > pytest-dev mailing list > [email protected] > https://mail.python.org/mailman/listinfo/pytest-dev > -- -------------------------- Regards. Arseny Antonov
_______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
