added v flags to verbosity

This commit is contained in:
Ziad Kermadi 2023-10-26 20:44:14 +02:00
parent c71a325a0f
commit f7f2de6f0d
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ Examples for modifying printing verbosity:
pytest --quiet # quiet - less verbose - mode pytest --quiet # quiet - less verbose - mode
pytest -q # quiet - less verbose - mode (shortcut) pytest -q # quiet - less verbose - mode (shortcut)
pytest -v # increase verbosity, display individual test names
pytest -vv # more verbose, display more details from the test output
pytest -vvv # not a standard , but may be used for even more detail in certain setups
The ``-v`` flag controls the verbosity of pytest output in various aspects: test session progress, assertion The ``-v`` flag controls the verbosity of pytest output in various aspects: test session progress, assertion
details when tests fail, fixtures details with ``--fixtures``, etc. details when tests fail, fixtures details with ``--fixtures``, etc.