Serenity and Cucumber Quick Start
Report generated 12-03-2024 07:14

Feature: Hints

As a Wordle player
I want to be able to receive hints when I'm stuck
So that I can keep the game progressing and learn new words

Scenarios

Rule: A random hint should be proposed for a given word

Given the target word is "QUEST"

And the player has requested a hint

When the player requests another hint

Then the following hints should be proposed:

The word starts with the letter Q
The word ends with the letter T
The word contains 2 vowels

Given the target word is "APPLE"

When the player requests a hint

Then the proposed hint should be one of:

The word starts with the letter A
The word ends with the letter E
The word contains 2 vowels

Rule: Hints should be proposed based on the structure and content of the word

Given the target word is "{Word}"

When the player requests a hint

Then the proposed hints should include "{Hint Text}"

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 3 Total Duration 239ms
Total Number of Test Cases 7 Fastest Test 4ms
Number of Manual Test Cases 0 Slowest Test 160ms
Tests Started Mar 12, 2024 07:14:18 Average Execution Time 34ms
Tests Finished Mar 12, 2024 07:14:18 Total Execution Time 216ms

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Hints If the player asks for another hint, all the hints should be shown 4 07:14:18 160ms SUCCESS
Hints The word starts with a particular letter 3 07:14:18 029ms SUCCESS
Hints Possible hints for a word
5 passing test cases
3 07:14:18 027ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.3