Software Quality Assurance - McGill-ECSE321-Winter2022/project-group-group-08 GitHub Wiki

Test Coverage Objective

Our team's goal is to have a code coverage of at least 80% in each classes. As seen below, this goal was achieved. Across all classes, we have an average of 86.5% code coverage per service.

Test Coverage

Class Code Coverage
Account 80.3%
BusinessHour 83.9%
Cart 86.7%
Customer 88.5%
Employee 81.5%
GroceryStoreSystem 90.0%
Item 97.9%
Manager 84.9%
Person 81.4%
Quantity 96.1%
Receipt 82.7%
UserRole 80.6%

Integration Test

The backend services were all successfully executed using a third party application (Postman). The images of each RESTful service can be found in this folder. These pictures also provide us a visual representation of the expected parameters of each RESTful service.