Serenity and Cucumber Quick Start
Home > Requirements > Wordle rules > Game overview
Report generated 12-03-2024 07:14

Feature: Game overview

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.

Scenarios

Given the target word is:

BLAND

When the player enters the following letters:

BEAST
BRAIN
PLAIN
PLANE
PLANT
PLANK

Then the player should lose the game

Players have to guess a five-letter word.
- Correctly placed letters are shown as GREEN
- Incorrectly placed letters are shown as YELLOW
- Letters not appearing in the word are represented as GRAY

Given the target word is:

BLAND

When the player enters the following letters:

BEAST
BRAIN
BLAND

Then the squares should be colored as follows:

GREENGRAYGREENGRAYGRAY
GREENGRAYGREENGRAYYELLOW
GREENGREENGREENGREENGREEN

And the player should win the game

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 2 Total Duration 247ms
Total Number of Test Cases 2 Fastest Test 210ms
Number of Manual Test Cases 0 Slowest Test 221ms
Tests Started Mar 12, 2024 07:14:17 Average Execution Time 215ms
Tests Finished Mar 12, 2024 07:14:18 Total Execution Time 431ms

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Game Overview Player runs out of tries and loses 3 07:14:17 210ms SUCCESS
Game Overview Player guesses the right word and wins 4 07:14:18 221ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.3