Consolidate changelog and correct typo

This commit is contained in:
Patrick Lannigan 2023-12-02 16:57:30 -05:00
parent 1181384493
commit 018b290faa
No known key found for this signature in database
GPG Key ID: BBF5D9DED1E4AAF9
4 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,5 @@
Added the new :confval:`verbosity_assertions` configuration option for fine-grained control of failed assertions verbosity. Added the new :confval:`verbosity_assertions` configuration option for fine-grained control of failed assertions verbosity.
Added the new :confval:`verbosity_test_cases` configuration option for fine-grained control of test execution verbosity.
See :ref:`Fine-grained verbosity <pytest.fine_grained_verbosity>` for more details. See :ref:`Fine-grained verbosity <pytest.fine_grained_verbosity>` for more details.

View File

@ -1,5 +0,0 @@
Added the new :confval:`verbosity_test_case` configuration option for fine-grained control of failed assertions verbosity.
See :ref:`Fine-grained verbosity <pytest.fine_grained_verbosity>` for more details.
For plugin authors, :attr:`config.get_verbosity <pytest.Config.get_verbosity>` can be used to retrieve the verbosity level for a specific verbosity type.

View File

@ -298,7 +298,7 @@ This is done by setting a verbosity level in the configuration file for the spec
``pytest --no-header`` with a value of ``2`` would have the same output as the previous example, but each test inside ``pytest --no-header`` with a value of ``2`` would have the same output as the previous example, but each test inside
the file is shown by a single character in the output. the file is shown by a single character in the output.
:confval:`verbosity_test_case`: Controls how verbose the test execution output should be when pytest is executed. :confval:`verbosity_test_cases`: Controls how verbose the test execution output should be when pytest is executed.
Running ``pytest --no-header`` with a value of ``2`` would have the same output as the first verbosity example, but each Running ``pytest --no-header`` with a value of ``2`` would have the same output as the first verbosity example, but each
test inside the file gets its own line in the output. test inside the file gets its own line in the output.

View File

@ -1835,14 +1835,14 @@ passed multiple times. The expected format is ``name=value``. For example::
"auto" can be used to explicitly use the global verbosity level. "auto" can be used to explicitly use the global verbosity level.
.. confval:: verbosity_test_case .. confval:: verbosity_test_cases
Set a verbosity level specifically for test case execution related output, overriding the application wide level. Set a verbosity level specifically for test case execution related output, overriding the application wide level.
.. code-block:: ini .. code-block:: ini
[pytest] [pytest]
verbosity_test_case = 2 verbosity_test_cases = 2
Defaults to application wide verbosity level (via the ``-v`` command-line option). A special value of 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. "auto" can be used to explicitly use the global verbosity level.