Serenity BDD Report
Report generated 19-11-2024 21:06:19

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 Nov 19, 2024 21:06:14
Tests Finished Nov 19, 2024 21:06:15
Total Duration 1s
Fastest Test 124ms
Slowest Test 589ms
Average Execution Time 225ms
Total Execution Time 1s

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 1s
Total Number of Test Cases 5 Fastest Test 124ms
Number of Manual Test Cases 0 Slowest Test 589ms
Tests Started Nov 19, 2024 21:06:14 Average Execution Time 225ms
Tests Finished Nov 19, 2024 21:06:15 Total Execution Time 1s

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 21:06:14 1s 014ms 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 | 21:06:15 124ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.20