Serenity/JS with Mocha
Home > Requirements > Math-js API
Report generated 23-11-2024 09:57

Feature: Math-js API

Scenarios

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 }

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 2 Total Duration 0ms
Total Number of Test Cases 2 Fastest Test 53ms
Number of Manual Test Cases 0 Slowest Test 242ms
Tests Started Nov 23, 2024 09:57:15 Average Execution Time 147ms
Tests Finished Total Execution Time 295ms

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Math-js API GET /v4/?expr supports calculating a single expression 2 09:57:15 242ms SUCCESS
Math-js API POST /v4 supports calculating multiple expressions in one request 2 09:57:15 053ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.20