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:
Piotr Golyzniak 2023-11-22 19:57:10 +01:00 committed by Carles Cufí
commit 5a3b9799aa
7 changed files with 242 additions and 55 deletions

View file

@ -3,7 +3,7 @@ Upgrade testing with MCUmgr
This application is based on :ref:`smp_svr_sample`. It is built
using **sysbuild**. Tests are automated with pytest, a new harness of Twister
(more information can be found here :ref:`integration-with-pytest`)
(more information can be found :ref:`here <integration_with_pytest>`)
.. note::
Pytest uses the MCUmgr fixture which requires the ``mcumgr`` available