Serenity/JS with Mocha
Report generated 22-10-2024 08:52:39

Test Results: All Tests

2 tests

Overview

Test Outcomes

Test Performance

Functional Coverage Overview

Features

Key Statistics

Number of Scenarios 2
Total Number of Test Cases 2
Tests Started Oct 22, 2024 08:52:36
Tests Finished
Total Duration 0ms
Fastest Test 109ms
Slowest Test 398ms
Average Execution Time 253ms
Total Execution Time 507ms

Functional Coverage Details

Features

Feature Scenarios StepsText Test Cases % Pass Result Coverage
Math-js API 2 Apisitt sends a request to calculate 2 + 2 Apisitt ensures that the body of the last response does equal 4 Apisitt sends a request to calculate 2 + 2, 5 - 3 Apisitt ensures that the body of the last response does equal { result: [ "4", "2" ], error: null } 2 100%

Key Statistics

Number of Scenarios 2 Total Duration 0ms
Total Number of Test Cases 2 Fastest Test 109ms
Number of Manual Test Cases 0 Slowest Test 398ms
Tests Started Oct 22, 2024 08:52:36 Average Execution Time 253ms
Tests Finished Total Execution Time 507ms

Automated Scenarios

feature Scenario Context Steps StepsText Started Total Duration Result
Math-js API GET /v4/?expr supports calculating a single expression 2 Apisitt sends a request to calculate 2 + 2 Apisitt ensures that the body of the last response does equal 4 08:52:36 398ms SUCCESS
Math-js API POST /v4 supports calculating multiple expressions in one request 2 Apisitt sends a request to calculate 2 + 2, 5 - 3 Apisitt ensures that the body of the last response does equal { result: [ "4", "2" ], error: null } 08:52:36 109ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.20