Serenity BDD Report
Report generated 04-02-2025 20:24:14

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 Feb 04, 2025 20:24:07
Tests Finished Feb 04, 2025 20:24:08
Total Duration 578ms
Fastest Test 93ms
Slowest Test 260ms
Average Execution Time 135ms
Total Execution Time 687ms

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 578ms
Total Number of Test Cases 5 Fastest Test 93ms
Number of Manual Test Cases 0 Slowest Test 260ms
Tests Started Feb 04, 2025 20:24:07 Average Execution Time 135ms
Tests Finished Feb 04, 2025 20:24:08 Total Execution Time 687ms

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:24:07 578ms 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:24:08 109ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.2.12