.\" Man page generated from reStructuredText. . .TH LABGRID-PYTEST 7 "2017-04-15" "0.3.1" "embedded testing" .SH NAME labgrid-pytest \- labgrid-pytest labgrid integration for pytest . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBpytest \-\-lg\-env\fP \fB*.yaml\fP .SH DESCRIPTION .sp Labgrid ships a pytest plugin to integrate with the pytest infrastructure. It is activated if the \fI\-\-lg\-env\fP parameter is supplied to the pytest command. .sp The labgrid plugin parses the supplied configuration yaml file as described in \fBlabgrid\-device\-config\fP(5) and allows the usage of the target and environment fixtures. The complete documentation is available at \fI\%https://labgrid.readthedocs.io/en/latest/usage.html#pytest\-plugin\fP\&. .SH EXAMPLES .sp Start tests with \fBmyconfig.yaml\fP and directory \fBtests\fP: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ pytest \-\-lg\-env myconfig.yaml tests .ft P .fi .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBlabgrid\-device\-config\fP(5) .SH AUTHOR Rouven Czerwinski Organization: Labgrid-Project .SH COPYRIGHT Copyright (C) 2016-2017 Pengutronix. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. .\" Generated by docutils manpage writer. .