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

Test coverage increase #104

Closed
wants to merge 19 commits into from
Closed

Test coverage increase #104

wants to merge 19 commits into from

Conversation

GSinseswa721
Copy link
Contributor

@GSinseswa721 GSinseswa721 commented May 28, 2024

Description

This PR is all about increasing the coverage of our project. Currently it had a test coverage of 77% , we have to increase it at least up to 90%. We are going to write tests to cover untested and partially tested areas of the code.

Description of task to be completed

  • The test coverage increase at least to 90%.
  • No functionality is broken by the new test.
  • All test pass successfully.

@GSinseswa721 GSinseswa721 added In Progress This Label will be added on pending task fixing jobs Fixing Github Actions CI/CDs labels May 28, 2024
@Ndevu12 Ndevu12 added this to the Finalization Sprint milestone May 29, 2024
@faid-terence
Copy link
Collaborator

@GSinseswa721 and @Ndevu12
What's the progress ?

@Ndevu12
Copy link
Contributor

Ndevu12 commented May 30, 2024

@GSinseswa721 and @Ndevu12
What's the progress ?

We have managed to achieve 81% for now

Copy link

gitguardian bot commented May 30, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@coveralls
Copy link

coveralls commented Jun 3, 2024

Pull Request Test Coverage Report for Build 9375153038

Details

  • 12 of 15 (80.0%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.2%) to 81.073%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/routes/index.ts 11 12 91.67%
src/entities/User.ts 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
src/utils/sendOrderMail.ts 1 91.67%
Totals Coverage Status
Change from base Build 9366596204: 0.2%
Covered Lines: 2229
Relevant Lines: 2594

💛 - Coveralls

Copy link
Collaborator

@faid-terence faid-terence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GSinseswa721 and @Ndevu12
We need acoverage of 90+%

src/__test__/cart.test.ts Show resolved Hide resolved
@GSinseswa721 GSinseswa721 force-pushed the ft-coverage branch 2 times, most recently from cbeeb31 to 5f8fc05 Compare June 3, 2024 19:56
Ndevu12 and others added 3 commits June 5, 2024 03:03
product search feature

feat(cart managment) add cart managment this commit adds cart entity, cart item entity with its relation of a guest/buyer user and product. it is used to implement cart managment for guest/buyer. Resolves: #88

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

increase test coverage

increasing test coverage

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

test coverage

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

test coverage

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

test coverage

test coverage

 This PR is for the addition of the chatbot

test coverage

test coverage

adding test cases for maximizing coverage
Ndevu12 and others added 4 commits June 5, 2024 05:05
Implement user profile update feature

--amend

feat(product managment) add product managment this commit adds product entity with its relation of a vendor. it is used to implement product managment for vendor. Resolves: #48

feat(product managment) add product managment this commit adds product entity with its relation of a vendor. it is used to implement product managment for vendor. Resolves: #48

adding recommended products route

feat(product managment) add product managment this commit adds product entity with its relation of a vendor. it is used to implement product managment for vendor. Resolves: #48

ft<product-availability-status-update> enable vendor to update product availability status

removing console and sensitive data in reponse

Ft-implment-wish list-functionalites

Implementation of view a single product function

Implement buyer able to list all products

google authentication

Commits squashing into one commit

product search feature

feat(cart managment) add cart managment this commit adds cart entity, cart item entity with its relation of a guest/buyer user and product. it is used to implement cart managment for guest/buyer. Resolves: #88

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

increase test coverage

increasing test coverage

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

test coverage

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

test coverage

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

test coverage

test coverage

 This PR is for the addition of the chatbot

test coverage

test coverage

adding test cases for maximizing coverage

rebasing with develop

product search feature

feat(cart managment) add cart managment this commit adds cart entity, cart item entity with its relation of a guest/buyer user and product. it is used to implement cart managment for guest/buyer. Resolves: #88

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

increase test coverage

increasing test coverage

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

test coverage

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

test coverage

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

feat(docker): implement Docker for project

- Include Docker file to build image for project and containerize the project
- Configure Docker compose for easy setup

Implement buyer able to leave feedback on products

ft<discount-coupon> adding discount coupon feature

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

Feat-Buyer-coupon-discount-management

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

implementing order tracking and order managment issue

adding documentation and tests

writing tests

implementing stripe payment system

implementing stripe payment system

Implement buyer able to leave feedback on products

Implement buyer able to leave feedback on products

test coverage

test coverage

test coverage

test coverage

adding test cases for maximizing coverage
@Ndevu12 Ndevu12 closed this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixing jobs Fixing Github Actions CI/CDs In Progress This Label will be added on pending task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants