Skip to content

Commit ca7ec5b

Browse files
committed
Mention verbosity_subtests
1 parent fc1b615 commit ca7ec5b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/en/how-to/subtests.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ Each assertion failure or error is caught by the context manager and reported in
3434
In the output above:
3535

3636
* Subtest failures are reported as ``SUBFAILED``.
37-
* Each subtest is reported with the ``,`` character.
3837
* Subtests are reported first and the "top-level" test is reported at the end on its own.
3938

4039
Note that it is possible to use ``subtests`` multiple times in the same test, or even mix and match with normal assertions
@@ -58,6 +57,14 @@ outside the ``subtests.test`` block:
5857
See :ref:`parametrize` for an alternative to subtests.
5958

6059

60+
Verbosity
61+
---------
62+
63+
By default, only **subtest failures** are shown. Higher verbosity levels (``-v``) will also show progress output for **passed** subtests.
64+
65+
It is possible to control the verbosity of subtests by setting :confval:`verbosity_subtests`.
66+
67+
6168
Typing
6269
------
6370

0 commit comments

Comments
 (0)