The rules of Wordle are simple. Your objective is to guess a secret five-letter word in as few guesses as possible.
To submit a guess, type any five-letter word and press enter.
All of your guesses must be real words, according to a dictionary of five-letter words that Wordle allows as guesses.
Players have to guess a five-letter word.
Given the target word is:
B | L | A | N | D |
---|
When the player enters the following letters:
B | E | A | S | T |
---|---|---|---|---|
B | R | A | I | N |
P | L | A | I | N |
P | L | A | N | E |
P | L | A | N | T |
P | L | A | N | K |
Then the player should lose the game
Given the target word is:
B | L | A | N | D |
---|
When the player enters the following letters:
B | E | A | S | T |
---|---|---|---|---|
B | R | A | I | N |
B | L | A | N | D |
Then the squares should be colored as follows:
GREEN | GRAY | GREEN | GRAY | GRAY |
---|---|---|---|---|
GREEN | GRAY | GREEN | GRAY | YELLOW |
GREEN | GREEN | GREEN | GREEN | GREEN |
And the player should win the game
Given the target word is "{target word}"
When the player plays "{player input}"
Then the squares should be colored as follows:
{cell 1} | {cell 2} | {cell 3} | {cell 4} | {cell 5} |
---|
Given the target word is:
B | L | A | N | D |
---|
When the player enters the following letters:
P | R | I | N | T |
---|
Then the squares should be colored as follows:
GRAY | GRAY | GRAY | GREEN | GRAY |
---|
Given the target word is:
B | L | A | N | D |
---|
When the player enters the following letters:
B | R | A | I | N |
---|
Then the squares should be colored as follows:
GREEN | GRAY | GREEN | GRAY | YELLOW |
---|
Given the target word is:
B | L | A | N | D |
---|
When the player attempts to enter the following letters:
{Letter 1} | {Letter 2} | {Letter 3} | {Letter 4} | {Letter 5} |
---|
Then the attempt should be rejected
Given the target word is:
B | L | A | N | D |
---|
When the player enters the following letters:
L | A | B | E | L |
---|
Then the squares should be colored as follows:
YELLOW | YELLOW | YELLOW | GRAY | GRAY |
---|
Number of Scenarios | 7 | Total Duration | 336ms |
Total Number of Test Cases | 11 | Fastest Test | 7ms |
Number of Manual Test Cases | 0 | Slowest Test | 196ms |
Tests Started | Mar 12, 2024 07:14:17 | Average Execution Time | 50ms |
Tests Finished | Mar 12, 2024 07:14:18 | Total Execution Time | 622ms |
feature | Scenario | Context | Steps | Started | Total Duration | Result |
---|---|---|---|---|---|---|
Game Rules | Player runs out of tries | 3 | 07:14:17 | 196ms | ||
Game Rules |
Letters should be displayed with the correct color
3 passing test cases |
3 | 07:14:18 | 271ms | ||
Game Rules | Letters that are present but not in the right place | 3 | 07:14:18 | 012ms | ||
Game Rules | Player guesses the right word | 4 | 07:14:18 | 028ms | ||
Game Rules |
Letters that do not form valid words should be rejected
3 passing test cases |
3 | 07:14:18 | 093ms | ||
Game Rules | Correctly placed letters | 3 | 07:14:18 | 007ms | ||
Game Rules | Two incorrectly placed letters | 3 | 07:14:18 | 015ms |