Skip to content

Commit 461663f

Browse files
authored
Merge pull request #1151 from MVrachev/testing-doc
Add doc for the possible cmd args while testing
2 parents fb2eaa5 + cce6b7b commit 461663f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/CONTRIBUTORS.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,26 @@ increase log level up to DEBUG ('-vvvv').
125125
$ python test_updater.py -vvvv TestUpdater.test_4_refresh # run test with DEBUG log level
126126

127127

128+
All of the log levels and the corresponding options that could be used for testing are:
129+
130+
.. list-table::
131+
:widths: 20 25
132+
:header-rows: 1
133+
134+
* - Option
135+
- Log Level
136+
* - default (no argument passed)
137+
- ERROR (test names are not printed)
138+
* - `-v`
139+
- ERROR (test names are printed at this level and above)
140+
* - `-vv`
141+
- WARNING
142+
* - `-vvv`
143+
- INFO
144+
* - `-vvvv`
145+
- DEBUG
146+
147+
128148
To run the tests and measure their code coverage, the aggregation script can be
129149
invoked with the ``coverage`` tool (requires installation of ``coverage``, e.g.
130150
via PyPI).

0 commit comments

Comments
 (0)