2009-07-21 00:54:08 +08:00
|
|
|
|
2009-07-22 22:09:49 +08:00
|
|
|
Implements terminal reporting of the full testing process.
|
2010-01-13 23:00:33 +08:00
|
|
|
==========================================================
|
|
|
|
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2009-07-22 22:09:49 +08:00
|
|
|
.. contents::
|
|
|
|
:local:
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2009-07-22 22:09:49 +08:00
|
|
|
This is a good source for looking at the various reporting hooks.
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2009-08-03 22:01:32 +08:00
|
|
|
command line options
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
|
2009-10-23 02:57:21 +08:00
|
|
|
``-v, --verbose``
|
|
|
|
increase verbosity.
|
2010-05-06 03:01:54 +08:00
|
|
|
``-r chars``
|
|
|
|
show extra test summary info as specified by chars (f)ailed, (s)skipped, (x)failed, (X)passed.
|
2009-10-23 02:57:21 +08:00
|
|
|
``-l, --showlocals``
|
|
|
|
show locals in tracebacks (disabled by default).
|
|
|
|
``--report=opts``
|
2010-05-06 03:01:54 +08:00
|
|
|
(deprecated, use -r)
|
2009-10-23 02:57:21 +08:00
|
|
|
``--tb=style``
|
2010-02-10 21:21:49 +08:00
|
|
|
traceback print mode (long/short/line/no).
|
2009-10-23 02:57:21 +08:00
|
|
|
``--fulltrace``
|
|
|
|
don't cut any tracebacks (default is to cut).
|
2010-02-10 21:21:49 +08:00
|
|
|
``--funcargs``
|
|
|
|
show available function arguments, sorted by plugin
|
2009-08-03 22:01:32 +08:00
|
|
|
|
2009-07-22 22:09:49 +08:00
|
|
|
Start improving this plugin in 30 seconds
|
|
|
|
=========================================
|
2009-07-21 00:54:08 +08:00
|
|
|
|
|
|
|
|
2010-07-27 03:15:15 +08:00
|
|
|
1. Download `pytest_terminal.py`_ plugin source code
|
|
|
|
2. put it somewhere as ``pytest_terminal.py`` into your import path
|
2009-07-22 22:09:49 +08:00
|
|
|
3. a subsequent ``py.test`` run will use your local version
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2010-07-27 03:15:15 +08:00
|
|
|
Checkout customize_, other plugins_ or `get in contact`_.
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2009-07-31 20:43:04 +08:00
|
|
|
.. include:: links.txt
|