Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/13902.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarified how subtest progress markers are shown in the documentation.
4 changes: 3 additions & 1 deletion doc/en/how-to/subtests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Subtests are an alternative to parametrization, particularly useful when the exa
Each assertion failure or error is caught by the context manager and reported individually:

.. code-block:: pytest
.. code-block:: text
$ pytest -q test_subtest.py
uuuuuF [100%]
Expand Down Expand Up @@ -63,6 +63,8 @@ Each assertion failure or error is caught by the context manager and reported in
In the output above:

* The compact progress output uses ``u`` for both passed and failed subtests;
see the short test summary for each failed subtest.
* Subtest failures are reported as ``SUBFAILED``.
* Subtests are reported first and the "top-level" test is reported at the end on its own.

Expand Down
Loading