Open vishi24 opened 6 months ago
Unit test cases are developed and raised PR PR Link: https://github.com/beckn/strapi-plugins/pull/71
Unit test cases are developed( bot commerce and appointment workflow) and raised PR PR Link: https://github.com/beckn/strapi-plugins/pull/71
Description
The current Strapi plugin lacks unit test coverage for the select and init endpoint. It's imperative to develop comprehensive unit test cases covering both product and service flows, aiming for a minimum of 90% code coverage.
Goals
Expected Outcome
Completion of unit test cases for the select and init endpoint achieving a code coverage of 90% or higher.
Acceptance Criteria
Implementation Details
Utilize the Jest framework to create unit test cases.
Mockups / Wireframes
[Include links to any visual aids, mockups, wireframes, or diagrams that help illustrate what the final product should look like. This is not always necessary, but can be very helpful in many cases.]
[Please note that the below section of the ticket must adhere to the specified format as it is crucial for proper project listing. Please select only the options mentioned under the headings where applicable.]
Product Name
Strapi Plugin
Project Name
strapi-plugins
Organization Name:
[Organization Name]
Domain
[Area of governance]
Tech Skills Needed:
Complexity
Medium
Category
Test case
Sub Category
Test case creation