Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test case for Strapi plugin - Update endpoint #39

Open
2 tasks
vishi24 opened this issue Feb 28, 2024 · 1 comment
Open
2 tasks

Unit test case for Strapi plugin - Update endpoint #39

vishi24 opened this issue Feb 28, 2024 · 1 comment
Assignees
Labels
QA Unit testing strapi-plugins plugins for strapi

Comments

@vishi24
Copy link
Collaborator

vishi24 commented Feb 28, 2024

Description

The current Strapi plugin lacks unit test coverage for the update endpoint. Developing comprehensive unit test cases covering both product and service flows is imperative, aiming for a minimum of 90% code coverage.

Goals

  • Develop unit test cases for the update endpoint.

Expected Outcome

Completion of unit test cases for the update endpoint achieving a code coverage of 90% or higher.

Acceptance Criteria

  • Unit test cases must achieve a code coverage of over 90%.

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:

  • Node.js
  • Jest

Complexity

Medium

Category

Test case

Sub Category

Test case creation

@vishi24 vishi24 added the strapi-plugins plugins for strapi label Mar 4, 2024
@zoyaashik
Copy link
Contributor

Unit test cases are developed( bot commerce and appointment workflow) and raised PR
PR Link: #71

@faizmagic faizmagic added the QA Unit testing label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA Unit testing strapi-plugins plugins for strapi
Projects
None yet
Development

No branches or pull requests

3 participants