-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Rene <[email protected]>
- Loading branch information
Showing
45 changed files
with
535 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
*** Settings *** | ||
Test Template TestKeyword | ||
Library DataDriver encoding=utf-8 | ||
Library DataDriver encoding=utf-8 | ||
|
||
Test Template TestKeyword | ||
|
||
|
||
*** Test Cases *** | ||
Template Test | ||
|
||
|
||
*** Keywords *** | ||
TestKeyword | ||
[Arguments] ${scalar} ${dict} ${list} ${dotdict} ${user} | ||
Log ${scalar} | ||
Log ${dict} | ||
Log ${dict}[name] | ||
Log ${list} | ||
Log ${dotdict.key} | ||
Log ${dotdict}[key2] | ||
Log ${user} | ||
Log ${user}[name][first] | ||
Log ${user.name.last} | ||
Log ${user.nr} | ||
Log ${user.dict}[test] | ||
Log ${user}[pwd] | ||
Log ${scalar} | ||
Log ${dict} | ||
Log ${dict}[name] | ||
Log ${list} | ||
Log ${dotdict.key} | ||
Log ${dotdict}[key2] | ||
Log ${user} | ||
Log ${user}[name][first] | ||
Log ${user.name.last} | ||
Log ${user.nr} | ||
Log ${user.dict}[test] | ||
Log ${user}[pwd] | ||
Log Many ${scalar} | ||
Log Many &{dict} | ||
Log Many @{list} | ||
Log Many &{dotdict} | ||
Log Many &{dotdict} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
*** Settings *** | ||
Test Template TestKeyword | ||
Library DataDriver encoding=utf_8 | ||
Library DataDriver encoding=utf_8 | ||
|
||
Test Template TestKeyword | ||
|
||
Test Tags rf7only | ||
|
||
|
||
*** Test Cases *** | ||
Template Test | ||
|
||
|
||
*** Keywords *** | ||
TestKeyword | ||
[Arguments] ${dict} ${exp} | ||
[Arguments] ${opt}=default ${exp}=Wrong ${dict}=Value | ||
Should Be Equal ${dict} ${exp} | ||
Log To Console \n${dict} | ||
Should Be Equal ${opt} default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
*** Settings *** | ||
Library DataDriver | ||
Test Template Check Variables | ||
Library DataDriver | ||
|
||
Test Template Check Variables | ||
|
||
|
||
*** Variables *** | ||
${Default_Tags}= [] | ||
|
||
*** Test Cases *** ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
default ${var_1} ${var_2} a a defaults This is the Default Documentation ${Default_Tags} | ||
[Documentation] This is the Default Documentation | ||
|
||
*** Test Cases *** ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
default ${var_1} ${var_2} [Documentation] This is the Default Documentation | ||
a a defaults This is the Default Documentation ${Default_Tags} | ||
|
||
|
||
*** Keywords *** | ||
Check Variables | ||
[Arguments] ${var_1} ${var_2} ${var_name}=None ${var_doc}=None ${var_tags}=None | ||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_DOCUMENTATION} ${var_doc} This is the Default Documentation | ||
Verify Variable ${TEST_NAME} ${var_name} defaults | ||
Verify Variable ${TEST_TAGS} ${var_tags} ${Default_Tags} | ||
|
||
[Arguments] ${var_1} ${var_2} ${var_name}=None ${var_doc}=None ${var_tags}=None | ||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_DOCUMENTATION} ${var_doc} This is the Default Documentation | ||
Verify Variable ${TEST_NAME} ${var_name} defaults | ||
Verify Variable ${TEST_TAGS} ${var_tags} ${Default_Tags} | ||
|
||
Verify Variable | ||
[Arguments] ${var} ${exp_var} ${default} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
*** Settings *** | ||
Library DataDriver file=generic_csv_reader.csv reader_class=generic_csv_reader | ||
Test Template Check Variables | ||
Library DataDriver file=generic_csv_reader.csv reader_class=generic_csv_reader | ||
|
||
Test Template Check Variables | ||
|
||
|
||
*** Variables *** | ||
${Default_Tags}= [] | ||
|
||
*** Test Cases *** ${var_1} ${var_2} ${var_name} | ||
default ${var_1} ${var_2} a a defaults | ||
|
||
*** Test Cases *** ${var_1} ${var_2} ${var_name} | ||
default ${var_1} ${var_2} a a defaults | ||
|
||
|
||
*** Keywords *** | ||
Check Variables | ||
[Arguments] ${var_1} ${var_2} ${var_name} | ||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_NAME} ${var_name} default a a | ||
|
||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_NAME} ${var_name} default a a | ||
|
||
Verify Variable | ||
[Arguments] ${var} ${exp_var} ${default} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
*** Settings *** | ||
Library DataDriver | ||
Test Template Check Variables | ||
Library DataDriver | ||
|
||
Test Template Check Variables | ||
|
||
|
||
*** Variables *** | ||
${Default_Tags}= [] | ||
|
||
|
||
*** Test Cases *** ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
default ${var_name_1} ${var_name_2} a a defaults This is the Default Documentation ${Default_Tags} | ||
[Documentation] This is the template Documentation | ||
*** Test Cases *** ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
default ${var_name_1} ${var_name_2} [Documentation] This is the template Documentation | ||
a a defaults This is the Default Documentation ${Default_Tags} | ||
|
||
|
||
*** Keywords *** | ||
Check Variables | ||
[Arguments] ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_DOCUMENTATION} ${var_doc} This is the Default Documentation | ||
Verify Variable ${TEST_NAME} ${var_name} defaults | ||
Verify Variable ${TEST_TAGS} ${var_tags} ${Default_Tags} | ||
[Arguments] ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_DOCUMENTATION} ${var_doc} This is the Default Documentation | ||
Verify Variable ${TEST_NAME} ${var_name} defaults | ||
Verify Variable ${TEST_TAGS} ${var_tags} ${Default_Tags} | ||
|
||
Verify Variable | ||
[Arguments] ${var} ${exp_var} ${default} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
*** Settings *** | ||
Library DataDriver | ||
Test Template Check Variables | ||
Library DataDriver | ||
|
||
Test Template Check Variables | ||
|
||
|
||
*** Variables *** | ||
${Default_Tags}= [] | ||
|
||
|
||
*** Test Cases *** ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
default ${var_name_1} ${var_name_2} a a defaults This is the Default Documentation ${Default_Tags} | ||
[Documentation] This is the template Documentation | ||
*** Test Cases *** ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
default ${var_name_1} ${var_name_2} [Documentation] This is the template Documentation | ||
a a defaults This is the Default Documentation ${Default_Tags} | ||
|
||
|
||
*** Keywords *** | ||
Check Variables | ||
[Arguments] ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_DOCUMENTATION} ${var_doc} This is the Default Documentation | ||
Verify Variable ${TEST_NAME} ${var_name} defaults | ||
Verify Variable ${TEST_TAGS} ${var_tags} ${Default_Tags} | ||
[Arguments] ${var_1} ${var_2} ${var_name} ${var_doc} ${var_tags} | ||
Verify Variable ${var_1} ${var_2} a | ||
Verify Variable ${TEST_DOCUMENTATION} ${var_doc} This is the Default Documentation | ||
Verify Variable ${TEST_NAME} ${var_name} defaults | ||
Verify Variable ${TEST_TAGS} ${var_tags} ${Default_Tags} | ||
|
||
Verify Variable | ||
[Arguments] ${var} ${exp_var} ${default} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} | ||
Run Keyword And Continue On Failure Should Not Be Equal ${var} ${default} | ||
Run Keyword And Continue On Failure Should Be Equal As Strings ${var} ${exp_var} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.