[pytest-dev] Idea for reversing report options

Ronny Pfannschmidt opensource at ronnypfannschmidt.de
Fri Jul 1 15:59:57 EDT 2016


i would propose a long option to clear the reportchars list instead

we should not have more than one DSL for the cli args

having logic actions triggered by element actions of a append argument
would start that

-- Ronny

Am 01.07.2016 um 15:57 schrieb Dave Hunt:
> During the sprint the issue of how to reverse extra test summary options specified using -r came up. I’ve also just noticed that showing the warnings by default added a --disable-pytest-warnings command line option. I had a thought, and wanted to share in case it was a favourable alternative to additional command line options.
>
> We could add a new character for -r such as ‘c’ and if this is present it would first clear all additional test summaries. So if the default was effectively -r fEw we could specify -r cpP to show only extra summaries for passed tests. What do you think?
>
> Dave
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev



More information about the pytest-dev mailing list