From f7f2de6f0dde494b9e9cc194391548094cbd194e Mon Sep 17 00:00:00 2001 From: Ziad Kermadi Date: Thu, 26 Oct 2023 20:44:14 +0200 Subject: [PATCH] added v flags to verbosity --- doc/en/how-to/output.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/en/how-to/output.rst b/doc/en/how-to/output.rst index dbe372d51..04f201610 100644 --- a/doc/en/how-to/output.rst +++ b/doc/en/how-to/output.rst @@ -48,6 +48,9 @@ Examples for modifying printing verbosity: pytest --quiet # quiet - less verbose - mode 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 details when tests fail, fixtures details with ``--fixtures``, etc.