diff options
Diffstat (limited to 'testing/web-platform/tests/tools/pytest/doc/en/test/plugin/terminal.rst')
-rw-r--r-- | testing/web-platform/tests/tools/pytest/doc/en/test/plugin/terminal.rst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/pytest/doc/en/test/plugin/terminal.rst b/testing/web-platform/tests/tools/pytest/doc/en/test/plugin/terminal.rst new file mode 100644 index 000000000..214c24dfc --- /dev/null +++ b/testing/web-platform/tests/tools/pytest/doc/en/test/plugin/terminal.rst @@ -0,0 +1,40 @@ + +Implements terminal reporting of the full testing process. +========================================================== + + +.. contents:: + :local: + +This is a good source for looking at the various reporting hooks. + +command line options +-------------------- + + +``-v, --verbose`` + increase verbosity. +``-r chars`` + show extra test summary info as specified by chars (f)ailed, (s)skipped, (x)failed, (X)passed. +``-l, --showlocals`` + show locals in tracebacks (disabled by default). +``--report=opts`` + (deprecated, use -r) +``--tb=style`` + traceback print mode (long/short/line/no). +``--fulltrace`` + don't cut any tracebacks (default is to cut). +``--fixtures`` + show available function arguments, sorted by plugin + +Start improving this plugin in 30 seconds +========================================= + + +1. Download `pytest_terminal.py`_ plugin source code +2. put it somewhere as ``pytest_terminal.py`` into your import path +3. a subsequent ``pytest`` run will use your local version + +Checkout customize_, other plugins_ or `get in contact`_. + +.. include:: links.txt |