Setting | Value | |||
---|---|---|---|---|
Documentation | Test cases for IDE compatibility\n Documentation has a newline |
|||
Suite Setup | My Suite Setup | |||
Suite Teardown | My Suite Teardown | |||
Test Setup | My Test Setup | |||
Test Teardown | My Test Teardown | |||
Force Tags | force1 | force 2 | ||
Default Tags | d1 | d2 | ||
Test Timeout | 1 minute | |||
Metadata | My Meta Data | This has some interesting values | ||
Resource | golden_resource.html | |||
Library | OperatingSystem | |||
Library | ArgLib | foo_with\n_newline | bar | |
Variables | varz.py | |||
Content between setting and variable table
Variable | Value | |||
---|---|---|---|---|
${SCALAR_VAR} | Hello\n , World! |
|||
@{LIST} | 1 | 2 | 3 | 4 |
${unicode} | §öäå | |||
Test Case | Action | Arguments | ||
---|---|---|---|---|
Passing Test | [Documentation] | This is a passing test | ||
[Tags] | tag1 | tag2 | tag3 | |
[Timeout] | 20 seconds | |||
Should Be Equal | ${SCALAR VAR} | Hello\n , World! |
||
Log Many | Hello | World | ${CURDIR} | |
... | @{LIST} | ${UNICODE} | ||
Log Many | 1 | 2 | 3 | |
... | 4 | 5 | 6 | |
... | 7 | 8 | 9 | |
... | 10 | 11 | 12 | |
Should Not Contain | ${CURDIR} | golden | ||
Curdir in Resource | ||||
Log | ${var from file} | |||
User Keywords | [Tags] | Skipping a tag | ||
[Setup] | Only argument | |||
[Timeout] | Only message | |||
${ret} = | User Keyword | args | ||
Should Be Equal | ${ret} | Success | ||
Resource UK | my value | |||
Library With Args | ${man} = | Get Mandatory | ||
${def} = | Get Default | |||
Should Be Equal | ${man}${def} | foobar | ||
Challenging Test | [Tags] | |||
[Setup] | ||||
[Template] | ||||
[Timeout] | ||||
: FOR | ${i} | IN | @{list} | |
Log | ${i} | |||
: FOR | ${x} | ${y} | IN RANGE | |
... | 10 | |||
${result} = | Evaluate | ${x}*${y} | ||
Log | ${result} | |||
:PARALLEL | ||||
Fail Unless | @{list}[0]==1 | |||
Log | Inside Paralell Block | |||
asdasd | ||||
Failing Teardown | No Operation | |||
[Teardown] | Fail | |||
Unicode § | Log | ½¼¤ | ||
Should Be Equal | ${unicode} | §öäå | ||
Keyword | Action | Arguments | ||
---|---|---|---|---|
My Test Setup | Log | Hello from test setup | ||
My Suite Setup | Log | Hello from suite setup | ||
My Test Teardown | Log | Hello from test teardown | ||
My Suite Teardown | Log | Hello from suite teardown | ||
User Keyword | [Arguments] | ${arg} | ${default}=default | @{list} |
[Documentation] | This is a User Keyword | |||
Log | ${arg} | |||
Log | ${default} | |||
Log Many | @{list} | |||
[Return] | Success | |||