From d9045ea467e3d045da80038ffc2585771edef00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Thu, 17 Jul 2025 15:23:15 +0200 Subject: [PATCH] twister: doc: add anchors for various harness sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make it possible to cross reference documentation for various harnesses by adding target locations. Signed-off-by: Benjamin Cabé --- doc/develop/test/twister.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/develop/test/twister.rst b/doc/develop/test/twister.rst index 701f40fb399..b8a81eb0ffb 100644 --- a/doc/develop/test/twister.rst +++ b/doc/develop/test/twister.rst @@ -883,6 +883,9 @@ pytest_dut_scope: (default function) - test_file_2.py::test_A - test_file_2.py::test_B[param_a] + +.. _twister_console_harness: + Console ======= @@ -972,6 +975,8 @@ record: (optional) } ] +.. _twister_robot_harness: + Robot ===== @@ -984,8 +989,11 @@ robot_testsuite: (default empty) robot_option: (default empty) One or more options to be send to robotframework. +.. _twister_power_harness: + Power ===== + The ``power`` harness is used to measure and validate the current consumption. It integrates with 'pytest' to perform automated data collection and analysis using a hardware power monitor. @@ -1022,6 +1030,8 @@ The harness executes the following steps: - **expected_rms_values** – Target RMS values for each identified execution phase (in milliamps). - **tolerance_percentage** – Allowed deviation percentage from the expected RMS values. +.. _twister_bsim_harness: + Bsim ==== @@ -1040,6 +1050,8 @@ bsim_exe_name: directory, will be ``bs__`` instead of the default based on the test path and scenario name. +.. _twister_shell_harness: + Shell =====