forked from robotframework/RIDE
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Gherkin calls. Still to fix TestTableSettings Setup/Teardown/Te…
…mplate keywords
- Loading branch information
1 parent
a43065d
commit 692b283
Showing
10 changed files
with
184 additions
and
55 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,33 @@ | ||
# This is the preamble | ||
Language: English | ||
|
||
# A blank line | ||
|
||
*** Settings *** | ||
Documentation This is the documentation for Gherkin test | ||
... A continued line of documentation | ||
*** Test Cases *** | ||
third test | ||
Given "Mr. Smith" is registered | ||
And "cart" has objects | ||
When "Mr. Smith" clicks in checkout | ||
Then the total is presented and awaits confirmation | ||
But it is shown the unavailable payment method | ||
|
||
*** Keywords *** | ||
${user} is registered | ||
No Operation | ||
|
||
${cart} has objects | ||
No Operation | ||
|
||
${user} clicks in checkout | ||
No Operation | ||
|
||
the total is presented and awaits confirmation | ||
No Operation | ||
|
||
it is shown the unavailable payment method | ||
No Operation | ||
|
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,35 @@ | ||
# Este é o preâmbulo | ||
Language: Portuguese | ||
|
||
# Mais uma linha em branco | ||
|
||
*** Definições *** | ||
Documentação Esta é a documentação para o teste Gherkin | ||
... Uma linha de continuação da documentação | ||
|
||
*** Casos de Teste *** | ||
teste terceiro | ||
Dado "Sr. José" está registado | ||
E "carrinho" tem objectos | ||
Quando "Sr. José" clica em finalizar compra | ||
Então é apresentado o total e aguarda confirmação | ||
Mas é apresentado meio de pagamento indisponível | ||
# Comment at end of test case, next is empty line followed by the section keywords | ||
|
||
*** Palavras-Chave *** | ||
${utilizador} está registado | ||
No Operation | ||
|
||
# Comment before keyword, next is keyword name | ||
|
||
${carrinho de compras} tem objectos | ||
No Operation | ||
|
||
${utilizador} clica em finalizar compra | ||
No Operation | ||
|
||
é apresentado o total e aguarda confirmação | ||
No Operation | ||
|
||
é apresentado meio de pagamento indisponível | ||
No Operation |