Skip to content

Commit

Permalink
doc/usage: document step reporter and debug logging.
Browse files Browse the repository at this point in the history
After reading PR #134, I realized that the step reporter and debug logging for
pytest are undocumented. Add the documentation in the pytest plugin section.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  • Loading branch information
Emantor committed Sep 22, 2017
1 parent a35adf3 commit 60a709f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/usage.rst
Expand Up @@ -101,6 +101,13 @@ env (session scope)
target (session scope)
Used to access the 'main' :any:`Target` defined in the configuration file.

The pytest plugin also supports the verbosity argument of pytest:

- ``-vv``: activates the step reporting feature, showing function parameters and/or results
- ``-vvv``: activates debug logging

This allows debugging during the writing of tests and inspection during test runs.

Simple Example
~~~~~~~~~~~~~~

Expand Down

0 comments on commit 60a709f

Please sign in to comment.