-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
plugin: subtestsrelated to the subtests builtin pluginrelated to the subtests builtin plugintype: bugproblem that needs to be addressedproblem that needs to be addressedtype: docsdocumentation improvement, missing or needing clarificationdocumentation improvement, missing or needing clarification
Description
Location: https://docs.pytest.org/en/stable/how-to/subtests.html#subtests
The documentation shows:
$ pytest -q test_subtest.py
uuuuuF [100%]
where all the u characters are green (passing).
Actual behavior: Running the example produces mixed results - some u are green (passed subtests) and some are red (failed subtests).
The documentation should reflect the mixed pass/fail colors.
(it might be an issue in the code-block:: pytest style)
Also, we might want to use different characters for passing vs failing subtests to support non-color terminal outputs
Metadata
Metadata
Assignees
Labels
plugin: subtestsrelated to the subtests builtin pluginrelated to the subtests builtin plugintype: bugproblem that needs to be addressedproblem that needs to be addressedtype: docsdocumentation improvement, missing or needing clarificationdocumentation improvement, missing or needing clarification