Lines Matching +full:pytest +full:- +full:twister +full:- +full:harness
1 .. zephyr:code-sample:: pytest_shell
2 :name: Pytest shell application testing
4 Execute pytest tests against the Zephyr shell.
9 The sample project illustrates usage of pytest framework integrated with
10 Twister test runner.
12 A simple application provides basic Zephyr shell interface. Twister builds it
13 and then calls pytest in subprocess which runs tests from
14 ``pytest/test_shell.py`` file. The first test verifies valid response for
17 is defined in ``pytest-twister-harness`` plugin. More information about plugin
28 Build and run sample by Twister:
30 .. code-block:: console
32 $ ./scripts/twister -vv --platform native_sim -T samples/subsys/testsuite/pytest/shell
38 .. code-block:: console
41 samples/subsys/testsuite/pytest/shell/pytest/test_shell.py::test_shell_print_help
45 …DEBUG: #: You can also use the <Tab> button to prompt or auto-complete all commands or its subcomm…
46 DEBUG: #: You can try to call commands with <-h> or <--help> parameter for more information.
47 DEBUG: #: Shell supports following meta-keys:
68 DEBUG: #: shell :Useful, not Unix-like shell commands.
72 samples/subsys/testsuite/pytest/shell/pytest/test_shell.py::test_shell_print_version