Serenity BDD Report
Report generated 21-01-2025 20:31:09

Test Results: All Tests

5 tests

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 2
Total Number of Test Cases 5
Tests Started Jan 21, 2025 20:31:05
Tests Finished Jan 21, 2025 20:31:06
Total Duration 686ms
Fastest Test 93ms
Slowest Test 370ms
Average Execution Time 159ms
Total Execution Time 805ms

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
Expressions 2 Basic expressions #1 - expression: 2 + 3, expected_result: 5 Before When Sandra requests evaluation of 2 + 3 Sandra requests evaluation of "2 + 3" Sandra sends a GET request to /v4?expr endpoint for URL-encoded expression: 2 + 3 Sandra ensures that the status of the last response does equal 200 Then she should get 5 Sandra ensures that the body of the last response does equal 5 Basic expressions #2 - expression: 2 - 3, expected_result: -1 Before When Sandra requests evaluation of 2 - 3 Sandra requests evaluation of "2 - 3" Sandra sends a GET request to /v4?expr endpoint for URL-encoded expression: 2 - 3 Sandra ensures that the status of the last response does equal 200 Then she should get -1 Sandra ensures that the body of the last response does equal -1 Basic expressions #3 - expression: 2 * 2 + 2, expected_result: 6 Before When Sandra requests evaluation of 2 * 2 + 2 Sandra requests evaluation of "2 * 2 + 2" Sandra sends a GET request to /v4?expr endpoint for URL-encoded expression: 2 * 2 + 2 Sandra ensures that the status of the last response does equal 200 Then she should get 6 Sandra ensures that the body of the last response does equal 6 Basic expressions #4 - expression: 2 + 2 * 2, expected_result: 6 Before When Sandra requests evaluation of 2 + 2 * 2 Sandra requests evaluation of "2 + 2 * 2" Sandra sends a GET request to /v4?expr endpoint for URL-encoded expression: 2 + 2 * 2 Sandra ensures that the status of the last response does equal 200 Then she should get 6 Sandra ensures that the body of the last response does equal 6 Before When Sandra requests evaluation of: | expression | | 2 + 3 | | 2 - 3 | | 2 * 2 + 2 | | 2 + 2 * 2 | Sandra requests evaluation of multiple expressions Sandra sends a POST request to '/v4' Sandra ensures that the status of the last response does equal 200 Then she should get following results: | expected_result | | 5 | | -1 | | 6 | | 6 | Sandra ensures that the body of the last response does have property result that does equal [ "5", "-1", "6", "6" ] 5 100%

Key Statistics

Number of Scenarios 2 Total Duration 686ms
Total Number of Test Cases 5 Fastest Test 93ms
Number of Manual Test Cases 0 Slowest Test 370ms
Tests Started Jan 21, 2025 20:31:05 Average Execution Time 159ms
Tests Finished Jan 21, 2025 20:31:06 Total Execution Time 805ms

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
Expressions Basic expressions
4 passing test cases
2 When Sandra requests evaluation of <expression> Then she should get <expected_result> 20:31:05 686ms SUCCESS
Expressions Multiple expressions 3 Before When Sandra requests evaluation of: | expression | |---| | 2 + 3 | | 2 - 3 | | 2 * 2 + 2 | | 2 + 2 * 2 | Then she should get following results: | expected_result | |---| | 5 | | -1 | | 6 | | 6 | 20:31:06 119ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.2.12