doc: test: improve pytest documentation
Improve documentation about pytest integration with Twister. Add examples of usage, improve description of available options and introduce automatic doc generation of two plugin classes (DeviceAdapter and Shell) basing on their docstrings from source code. Signed-off-by: Piotr Golyzniak <piotr.golyzniak@nordicsemi.no>
This commit is contained in:
parent
04c9903055
commit
5a3b9799aa
7 changed files with 242 additions and 55 deletions
|
@ -25,6 +25,9 @@ sys.path.insert(0, str(ZEPHYR_BASE / "doc" / "_scripts"))
|
|||
# for autodoc directives on runners.xyz.
|
||||
sys.path.insert(0, str(ZEPHYR_BASE / "scripts" / "west_commands"))
|
||||
|
||||
# Add the directory which contains the pytest-twister-pytest
|
||||
sys.path.insert(0, str(ZEPHYR_BASE / "scripts" / "pylib" / "pytest-twister-harness" / "src"))
|
||||
|
||||
import redirects
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue