mirror of
https://github.com/hmalik144/Android-Cucumber-BDD-Sample.git
synced 2025-12-09 23:45:19 +00:00
Modified feature variable names to be more readable.
This commit is contained in:
@@ -20,24 +20,24 @@ Feature: Book Search
|
|||||||
And Book 2 should have the title "My life as an awesome guy"
|
And Book 2 should have the title "My life as an awesome guy"
|
||||||
|
|
||||||
Scenario Outline: Search books by author
|
Scenario Outline: Search books by author
|
||||||
When the customer searches for books by author <author>
|
When the customer searches for books by author <Author Search>
|
||||||
Then 2 books should be found
|
Then 2 books should be found
|
||||||
And Book 1 should have the title "How to be awesome"
|
And Book 1 should have the title "How to be awesome"
|
||||||
And Book 2 should have the title "My life as an awesome guy"
|
And Book 2 should have the title "My life as an awesome guy"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| author |
|
| Author Search |
|
||||||
| "Iiro" |
|
| "Iiro" |
|
||||||
| "Krankka" |
|
| "Krankka" |
|
||||||
| "Iiro Krankka" |
|
| "Iiro Krankka" |
|
||||||
|
|
||||||
Scenario Outline: Search books by title
|
Scenario Outline: Search books by title
|
||||||
When the customer searches for books with title <searched_title>
|
When the customer searches for books with title <Title Search>
|
||||||
Then <search_results_count> books should be found
|
Then <Number of Results> books should be found
|
||||||
And Books should be <search_results>
|
And Books should be <Found Books>
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| searched_title | search_results_count | search_results |
|
| Title Search | Number of Results | Found Books |
|
||||||
| "Awesome" | 2 | "How to be awesome" and "My life as an awesome guy" |
|
| "Awesome" | 2 | "How to be awesome" and "My life as an awesome guy" |
|
||||||
| "asshat" | 1 | "I think my teacher is an asshat" |
|
| "asshat" | 1 | "I think my teacher is an asshat" |
|
||||||
| "How to be" | 1 | "How to be awesome" |
|
| "How to be" | 1 | "How to be awesome" |
|
||||||
Reference in New Issue
Block a user