Files
testium/doc/manual/sphinx/source/test_items/let_test_item.rst
2025-12-29 10:46:05 +01:00

25 lines
636 B
ReStructuredText

**let** test item
============================================================
This element is of the following form:
.. code-block:: yaml
:caption: ``let`` test item usage example
- let:
name: Let Item
values:
key1: value1
key2: value2
eval:
key3: $(variable)[$(loop_index)]
The ``let`` element is used to set values in the global directory.
Attributes
----------------
* The values list gives the {<key>, <value>} couples to set in the
global directory,
* The eval list gives the strings to evaluate prior to its storage into
the <key> of global directory.