Serenity BDD Report
Report generated 22-10-2024 06:51:48

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 Oct 22, 2024 06:51:42
Tests Finished Oct 22, 2024 06:51:43
Total Duration 563ms
Fastest Test 90ms
Slowest Test 260ms
Average Execution Time 130ms
Total Execution Time 660ms

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 563ms
Total Number of Test Cases 5 Fastest Test 90ms
Number of Manual Test Cases 0 Slowest Test 260ms
Tests Started Oct 22, 2024 06:51:42 Average Execution Time 130ms
Tests Finished Oct 22, 2024 06:51:43 Total Execution Time 660ms

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
Expressions Basic expressions
4 passing test cases
2 When Sandra requests evaluation of Then she should get 06:51:42 563ms 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 | 06:51:43 097ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.20