Add verbosity_assertions and config.get_verbosity

Fixes #11387
This commit is contained in:
Patrick Lannigan
2023-11-19 09:56:29 -05:00
committed by GitHub
parent 80442ae2f2
commit 9dc1fc4523
12 changed files with 299 additions and 13 deletions
+13
View File
@@ -1822,6 +1822,19 @@ passed multiple times. The expected format is ``name=value``. For example::
clean_db
.. confval:: verbosity_assertions
Set a verbosity level specifically for assertion related output, overriding the application wide level.
.. code-block:: ini
[pytest]
verbosity_assertions = 2
Defaults to application wide verbosity level (via the ``-v`` command-line option). A special value of
"auto" can be used to explicitly use the global verbosity level.
.. confval:: xfail_strict
If set to ``True``, tests marked with ``@pytest.mark.xfail`` that actually succeed will by default fail the