Skip to content

Commit d9045ea

Browse files
kartbendanieldegrasse
authored andcommitted
twister: doc: add anchors for various harness sections
Make it possible to cross reference documentation for various harnesses by adding target locations. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent b46b41d commit d9045ea

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/develop/test/twister.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,9 @@ pytest_dut_scope: <function|class|module|package|session> (default function)
883883
- test_file_2.py::test_A
884884
- test_file_2.py::test_B[param_a]
885885
886+
887+
.. _twister_console_harness:
888+
886889
Console
887890
=======
888891

@@ -972,6 +975,8 @@ record: <recording options> (optional)
972975
}
973976
]
974977
978+
.. _twister_robot_harness:
979+
975980
Robot
976981
=====
977982

@@ -984,8 +989,11 @@ robot_testsuite: <robot file path> (default empty)
984989
robot_option: <robot option> (default empty)
985990
One or more options to be send to robotframework.
986991

992+
.. _twister_power_harness:
993+
987994
Power
988995
=====
996+
989997
The ``power`` harness is used to measure and validate the current consumption.
990998
It integrates with 'pytest' to perform automated data collection and analysis using a hardware power monitor.
991999

@@ -1022,6 +1030,8 @@ The harness executes the following steps:
10221030
- **expected_rms_values** – Target RMS values for each identified execution phase (in milliamps).
10231031
- **tolerance_percentage** – Allowed deviation percentage from the expected RMS values.
10241032

1033+
.. _twister_bsim_harness:
1034+
10251035
Bsim
10261036
====
10271037

@@ -1040,6 +1050,8 @@ bsim_exe_name: <string>
10401050
directory, will be ``bs_<platform_name>_<bsim_exe_name>`` instead of the
10411051
default based on the test path and scenario name.
10421052

1053+
.. _twister_shell_harness:
1054+
10431055
Shell
10441056
=====
10451057

0 commit comments

Comments
 (0)