Testing and Validation - sebas0163/My_RESTaurante GitHub Wiki

For the testing and validation of the project, the team utilized the testing framework Jest. Jest is a comprehensive tool for Javascript projects designed for automated testing and validation processes. It offers a wide range of features, including test case management, code coverage analysis, and integration with continuous integration/continuous deployment (CI/CD) pipelines.

The following is the result of an example of unit testing of the food recommendation system. The FoodMatcher component successfully locates a specific dish within the mock data and returns the recommendation that matches the selected dishes. As shown in the image, it succesfully identified a matching dish.

unittest1