Permalink
Browse files

doc/usage: document pytest plugin options

Signed-off-by: Bastian Krause <bst@pengutronix.de>
  • Loading branch information...
Bastian-Krause committed Nov 26, 2018
1 parent 7a8b5fd commit cbaa749e750d408262c0a6946dec1498f401abf2
Showing with 17 additions and 0 deletions.
  1. +17 −0 doc/usage.rst
@@ -128,6 +128,23 @@ The pytest plugin also supports the verbosity argument of pytest:
This allows debugging during the writing of tests and inspection during test runs.
Other labgrid-related pytest plugin options are:
``--lg-env=LG_ENV`` (was ``--env-config=ENV_CONFIG``)
Specify a labgrid environment config file.
This is equivalent to labgrid-client's ``-c``/``--config``.
``--lg-coordinator=CROSSBAR_URL``
Specify labgrid coordinator websocket URL.
Defaults to ``ws://127.0.0.1:20408/ws``.
This is equivalent to labgrid-client's ``-x``/``--crossbar``.
``--lg-log=[path to logfiles]``
Path to store console log file.
If option is specified without path the current working directory is used.
``pytest --help`` shows these options in a separate *labgrid* section.
Simple Example
~~~~~~~~~~~~~~

0 comments on commit cbaa749

Please sign in to comment.