Description:-
Gradually moving towards the BDD, utilizing cucumber framework.
Need to write feature file - utilizing Gherkin language - with possible scenario to validate
Username tab
Password tab.
NOTE:-
this is initial feature file so we should start with basics, and if possible include as many possible scenario as possible.
to learn more about Gherkin language and feature file writing method, do look into https://docs.cucumber.io/gherkin/reference/
Example:-
Feature: Guess the word
The first example has two steps
Scenario: Maker starts a game
When the Maker starts a game
Then the Maker waits for a Breaker to join
The second example has three steps
Scenario: Breaker joins a game
Given the Maker has started a game with the word "silky"
When the Breaker joins the Maker's game
Then the Breaker must guess a word with 5 characters
Description:- Gradually moving towards the BDD, utilizing cucumber framework. Need to write feature file - utilizing Gherkin language - with possible scenario to validate
NOTE:- this is initial feature file so we should start with basics, and if possible include as many possible scenario as possible. to learn more about Gherkin language and feature file writing method, do look into https://docs.cucumber.io/gherkin/reference/
Example:- Feature: Guess the word
The first example has two steps
Scenario: Maker starts a game When the Maker starts a game Then the Maker waits for a Breaker to join
The second example has three steps
Scenario: Breaker joins a game Given the Maker has started a game with the word "silky" When the Breaker joins the Maker's game Then the Breaker must guess a word with 5 characters