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

The Wordle Game

Wordle is a popular word puzzle game that tests your vocabulary and problem-solving skills. The objective of the game is to guess a hidden word by proposing different word possibilities within a specific number of tries.

The game works on a process of elimination and deduction. You start by guessing a word of a certain length, usually five letters. The game then provides feedback on each letter in your guessed word. If a letter is correct and in the right position, it will be highlighted in green. If the letter is correct but in the wrong position, it will be highlighted in yellow. If the letter is not in the word at all, it will be grayed out.

By using this feedback, players can adjust their next guesses, eliminating certain letters and focusing on others. The goal is to find the hidden word in the fewest number of guesses. It's a fun, challenging game that combines elements of crosswords and Sudoku, testing both your vocabulary and your logical thinking skills.

Feature Coverage By Scenario

Requirements Overview

Key Statistics

Number of Scenarios 45
Total Number of Test Cases 53
Tests Started Mar 12, 2024 07:14:17
Tests Finished Mar 12, 2024 07:14:33
Total Duration 15s
Fastest Test 4ms
Slowest Test 2s
Average Execution Time 309ms
Total Execution Time 16s

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 45 Total Duration 15s
Total Number of Test Cases 53 Fastest Test 4ms
Number of Manual Test Cases 0 Slowest Test 2s
Tests Started Mar 12, 2024 07:14:17 Average Execution Time 309ms
Tests Finished Mar 12, 2024 07:14:33 Total Execution Time 16s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Wordle Status Check We can check the status of the Wordle service by sending a GET to /api/service 1 07:14:24 2s 238ms SUCCESS
Creating a new game The new game should initially be In Progress 4 07:14:24 2s 653ms SUCCESS
Creating a new game Each new game should be assigned a unique id 3 07:14:25 1s 132ms SUCCESS
Creating a new game The new game should contain no moves 4 07:14:28 233ms SUCCESS
Game history and statistics Game results are recorded in the game history 9 07:14:24 2s 646ms SUCCESS
Game history and statistics Game statistics can be retrieved for the current player 11 07:14:30 239ms SUCCESS
Game history and statistics Player statistics should appear in the leaderboard 11 07:14:31 189ms SUCCESS
Getting hints We can request a hint for the current game via GET /api/game/{id}/hint 5 07:14:28 298ms SUCCESS
Getting hints Hints should include "The word starts with the letter B"
1 passing test case
6 07:14:32 147ms SUCCESS
Getting hints Hints should include "The word ends with the letter D"
1 passing test case
6 07:14:32 339ms SUCCESS
Getting hints Hints should include "The word contains 1 vowel"
1 passing test case
6 07:14:32 184ms SUCCESS
Playing the game Invalid words should be rejected with a 403 error 4 07:14:29 296ms SUCCESS
Playing the game When we make a move, the move is recorded in the game history 5 07:14:29 312ms SUCCESS
Playing the game After the game has finished the answer can be revealed via via GET /api/game/{id}/answer 6 07:14:29 213ms SUCCESS
Playing the game We can check the current state of the game by sending a GET to /api/game/{id}/guesses 5 07:14:30 165ms SUCCESS
Playing the game This is an example of a complete game played via the API 7 07:14:30 288ms SUCCESS
Playing the game We can get the current game result by sending a GET to /api/game/{id}/result 4 07:14:30 268ms SUCCESS
Playing the game We make a move by posting a word to the with the /api/game/{id}/word end-point 4 07:14:31 211ms SUCCESS
Playing the game If we try to ask for the answer by sending a GET to /api/game/{id}/answer 4 07:14:31 282ms SUCCESS
Playing the game [1] word=CRYPT, guess=CRYPT, cell1=GREEN, cell2=GREEN, cell3=GREEN, cell4=GREEN, cell5=GREEN
1 passing test case
6 07:14:32 096ms SUCCESS
Playing the game [2] word=CRYPT, guess=BOARD, cell1=GRAY, cell2=GRAY, cell3=GRAY, cell4=YELLOW, cell5=GRAY
1 passing test case
6 07:14:32 157ms SUCCESS
Playing the game [3] word=CRYPT, guess=CROWN, cell1=GREEN, cell2=GREEN, cell3=GRAY, cell4=GRAY, cell5=GRAY
1 passing test case
6 07:14:32 165ms SUCCESS
Playing the game When the word is CRYPT and the guess is ORGAN, the row is GRAY, GREEN, GRAY, GRAY, GRAY
1 passing test case
6 07:14:32 308ms SUCCESS
Playing the game When the word is CRYPT and the guess is BRACE, the row is GRAY, GREEN, GRAY, YELLOW, GRAY
1 passing test case
6 07:14:32 186ms SUCCESS
Playing the game When the word is CRYPT and the guess is CRYPT, the row is GREEN, GREEN, GREEN, GREEN, GREEN
1 passing test case
6 07:14:32 230ms SUCCESS
Registering a new user Password should be stored as a hashed password 1 07:14:28 226ms SUCCESS
Registering a new user Email must be unique 2 07:14:28 168ms SUCCESS
Registering a new user Username must be unique 2 07:14:29 135ms SUCCESS
Registering a new user Players need to register before they can login and play 1 07:14:29 263ms SUCCESS
Registering a new user Logged-on players can play the game 3 07:14:29 247ms SUCCESS
Registering a new user Password must not be empty 1 07:14:30 121ms SUCCESS
Registering a new user Users cannot access the game without logging on 2 07:14:30 305ms SUCCESS
Registering a new user Players can log on with their username and password 2 07:14:30 239ms SUCCESS
Game Rules Player runs out of tries 3 07:14:17 196ms SUCCESS
Game Rules Letters should be displayed with the correct color
3 passing test cases
3 07:14:18 271ms SUCCESS
Game Rules Letters that are present but not in the right place 3 07:14:18 012ms SUCCESS
Game Rules Player guesses the right word 4 07:14:18 028ms SUCCESS
Game Rules Letters that do not form valid words should be rejected
3 passing test cases
3 07:14:18 093ms SUCCESS
Game Rules Correctly placed letters 3 07:14:18 007ms SUCCESS
Game Rules Two incorrectly placed letters 3 07:14:18 015ms SUCCESS
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
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