Reputation: 246
I am currently learning pytest and going through the documentation it is not clear what "quiet" mode is and what the reason for using it is. Can anyone clarify this to me?
In the documentation I see it is denoted with -q
like such:
$ pytest -q test_sysexit.py
But what does this do?
Upvotes: 6
Views: 6675
Reputation: 1247
Adding -q
option will make pytest to be more concise in its output to the console.
There are more options similar to it:
-qq
will make pytest output even less information than -q
.-v
to output more information than the default amount.Source: run pytest --help
in shell:
-v, --verbose increase verbosity.
-q, --quiet decrease verbosity.
Upvotes: 4