introduce "-q" option which decreases verbosity and basically leads to a unittest/nosetest-style "." output

add it in an ini file like this:

    [pytest]
    addargs=-q

and you get that by default.
This commit is contained in:
holger krekel
2010-10-31 19:51:16 +01:00
parent bb50ec89a9
commit 8871ca5bfa
5 changed files with 36 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ You can create a simple example file:
and if you installed `PyYAML`_ or a compatible YAML-parser you can
now execute the test specification::
nonpython $ py.test
nonpython $ py.test test_simple.yml
=========================== test session starts ============================
platform linux2 -- Python 2.6.5 -- pytest-2.0.0.dev10
test path 1: /home/hpk/p/pytest/doc/example/nonpython