-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
.resource
extension to Robot Framework (#6500)
* add .resource extension to robot * add resource file example * docs * add heuristics for RF resource files * fix typo * add robotframework keywords heuristic --------- Co-authored-by: Colin Seymour <[email protected]>
- Loading branch information
1 parent
ebbedf0
commit 15e5607
Showing
5 changed files
with
34 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ extensions: | |
- ".9" | ||
- ".app" | ||
- ".cmp" | ||
- ".resource" | ||
- ".sol" | ||
- ".stl" | ||
- ".tag" | ||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
*** Settings *** | ||
Documentation Example keywords file. | ||
... It is recommended to use another ending than `.robot` for resource files. | ||
... By convention, the file ending for resource files is `.resource`. | ||
... Another resource than `.robot` makes maintaining large projects easier. It also prevents | ||
... the parser to search for tasks or test cases in resource files, which saves some startup performance. | ||
Library Collections | ||
|
||
|
||
*** Variables *** | ||
${variable} ${EMPTY} | ||
${some_list} @{EMPTY} | ||
${some_dict} &{EMPTY} | ||
|
||
|
||
*** Keywords *** | ||
Dictionary Should Contain ${key}=${value} | ||
This comment was marked as spam.
Sorry, something went wrong. |
||
[Arguments] ${dict} | ||
Dictionary Should Contain Key ${dict} ${key} | ||
Should Be Equal ${dict}[key] ${value} msg=Dictionary does not hold expected item. |
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
i’m just saying