Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This solution feels a little hackerish to me, but it does give you the functionality that you want.</p> <h2>Test.txt</h2> <pre><code>| *Setting* | *Value* | # This should start as the value for your first test | Suite Setup | Set Suite Variable | ${device} | foo | *Test Case* | *Action* | *Argument* # | T100 | [Documentation] | Should be foo: ${device} # Do some stuff | | No Operation # This setups the device name for the next test. | | Set Suite Variable | ${device} | bar # | T101 | [Documentation] | Should be bar: ${device} # Do some stuff | | No Operation | | Set Suite Variable | ${device} | bing # | T102 | [Documentation] | Should be bing: ${device} # Do some stuff | | No Operation </code></pre> <p>When I run the suite I get this output:</p> <pre><code>============================================================================== Test ============================================================================== T100 :: Should be foo: foo | PASS | ------------------------------------------------------------------------------ T101 :: Should be bar: bar | PASS | ------------------------------------------------------------------------------ T102 :: Should be bing: bing | PASS | ------------------------------------------------------------------------------ Test | PASS | 3 critical tests, 3 passed, 0 failed 3 tests total, 3 passed, 0 failed ============================================================================== </code></pre> <p>Having the device variable set at the end of the previous test is a little unclean, but as long you leave a comment it shouldn't be unclear at all.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload