-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Describe the enhancement
Description
Current test coverage analysis reveals several critical areas with insufficient test coverage, particularly in the backend part of our codebase. This issue aims at resolving and improving the test coverage of our codebase for better reliability of our codebase.
Current Behavior
Frontend Coverage Report:
- 93.52% of Statements are covered
- 90.66% of Branch Statements are covered
- 85.2% of Functions are covered
- 93.52% Lines of Code are covered
Backend Coverage Report:
- 73.89% of Statements are covered
- 64.13% of Branch Statements are covered
- 38.46% of Functions are covered
- 74.25% Lines of Code are covered
The above stats show that frontend part of our code is still thoroughly tested but backend codebase can be improved.
Expected Behavior
Better test coverage for both frontend and backend (>85-90%).
Additional Information:
We will aim at bringing this score up. Further sub-issues will be added under this main issue ticket.
We will prioritize the following files and directories based on low coverage and criticality:
controllers/logo.js
services/users.js, request.js, images.js
repositories/base.js, images.js, keys.js
utils/sendEmail.js, cloudFront.js
Why should this enhancement be implemented? Add additional informaiton.
This enhancement will help us verify our codebase is working as expected and improve reliability of our functionality..
Confirmation
- I have searched for similar issues before creating this one.
- I have provided all the necessary information to understand this documentation issue.
Sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
Status