logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

labgrid-pytest - labgrid-pytest labgrid integration for pytest

Author

Rouven Czerwinski <r.czerwinski@pengutronix.de> Organization: Labgrid-Project

Description

Labgrid ships a pytest plugin to integrate with the pytest infrastructure. It is activated if the --lg-env parameter is supplied to the pytest command. The labgrid plugin parses the supplied configuration yaml file as described in labgrid-device-config(5) and allows the usage of the target and environment fixtures. The complete documentation is available at https://labgrid.readthedocs.io/en/latest/usage.html#pytest-plugin.

Examples

Start tests with myconfig.yaml and directory tests: System Message: WARNING/2 (man/labgrid-pytest.rst:, line 41) Cannot analyze code. Pygments package not found. .. code-block:: bash $ pytest --lg-env myconfig.yaml tests

Name

labgrid-pytest - labgrid-pytest labgrid integration for pytest

See Also

labgrid-device-config(5)

Synopsis

pytest--lg-env*.yaml

See Also