AnupK1234 / MealMatters

MealMatters is a webapp designed to overcome student food insecurity by connecting students with nearby restaurants that provide free meals.
https://meal-matters-client.vercel.app/
MIT License
1 stars 2 forks source link

Unit and Integration testing for server Nodejs application #8

Closed mathanraj0601 closed 8 months ago

mathanraj0601 commented 9 months ago

Feature Request: Initiating Unit and Integration Testing

Overview

I am excited to propose the initiation of unit testing and integration testing. This feature aims to enhance the reliability and robustness of our application through comprehensive testing.

Testing Frameworks

Plan

  1. Unit Testing:

    • [x] Identify critical components for testing.
    • [x] Develop test cases for individual functions and modules.
  2. Integration Testing:

    • [x] Configure Superset for integration testing.
    • [x] Develop and execute integration tests.
mathanraj0601 commented 9 months ago

I am excited to work on this @AnupK1234 Can you assign me this for SWOC24?

AnupK1234 commented 9 months ago

Hey @mathanraj0601 , Sure! You can start working on this issue. Kindly read the Contributing Guidelines carefully.

Thank You

mathanraj0601 commented 9 months ago

That's great @AnupK1234 . Sure i will go through guidelines

mathanraj0601 commented 9 months ago

Hey @AnupK1234 !, I am figuring out the test case for each module. Try to update with a PR mostly by the End of the week. I believe having separate PRs for each module's test cases would indeed make the review process smoother and more focused. Can I make every module test a separate PR

AnupK1234 commented 9 months ago

Hey @AnupK1234 !, I am figuring out the test case for each module. Try to update with a PR mostly by the End of the week. I believe having separate PRs for each module's test cases would indeed make the review process smoother and more focused. Can I make every module test a separate PR

No, only make a single PR.

mathanraj0601 commented 9 months ago

Okay, i will make it as a single PR @AnupK1234 Thank you

AnupK1234 commented 8 months ago

@mathanraj0601 Are you done with this issue?

mathanraj0601 commented 8 months ago

Hi @AnupK1234 , I have done integration testing for contact module. Need to cover other module integration and unit test. Most probably will update you with a PR this weekend. ( will update the task in the description accordingly )

AnupK1234 commented 8 months ago

@mathanraj0601 Are you done with this issue?

mathanraj0601 commented 8 months ago

I am halfway through the issue i have exams and internship works so tight schedule hope you understand i will complete it ASAP

AnupK1234 commented 8 months ago

@mathanraj0601 Are you done with issue ?

mathanraj0601 commented 8 months ago

Hey @AnupK1234, Tested two major backend routes. Will complete other-module within a day