[pytest-dev] Feedback requested on new plugin

Arseniy Antonov arseny.antonov at gmail.com
Wed Jul 10 11:46:21 EDT 2019


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 <jimbrannlund at fastmail.com>:

> Nice!
>
> It looks similar to something that I did a while back:
> https://github.com/Projectplace/pytest-tags
>
> --
>   Jim Brännlund
>   jimbrannlund at fastmail.com
>
>
>
> 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
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>


-- 
--------------------------
Regards.
Arseny Antonov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20190710/4cc4a8a5/attachment.html>


More information about the pytest-dev mailing list