Skip to content

⚙️:Add Unit & Integration Test Suite #63

Description

@shreya112003

🔍 Have You Searched Existing Issues?

  • I have searched the existing issues to avoid duplicates

📝 Issue Summary

Add Unit & Integration Test Suite to improve code quality and stability.


🔍 Issue Description

Currently, the repository lacks automated testing. This makes it harder to detect bugs early and ensure that new contributions do not break existing functionality.

Without a proper test suite, contributors need to rely only on manual testing, which is time-consuming and error-prone. Adding unit and integration tests will improve project maintainability and contributor confidence.

  • Use cases where this is important:

  • Verifying backend routes and API endpoints

  • Testing mentor–mentee matching logic

  • Ensuring forms and models behave correctly

  • Preventing regressions when new features are added


💡 Proposed Solution (Optional)

Use pytest for writing unit tests

  • Add integration tests for routes, models, and ML matching logic

  • Set up GitHub Actions to automatically run tests on pull requests

  • Add coverage reports to track testing progress


📂 Category

Select the category that best describes the issue:

  • Enhancement
  • Refactor
  • Security
  • Design
  • Other


🙌 Contributor Checklist (Optional)

  • I have searched existing issues to avoid duplicates
  • I agree to follow this project's Code of Conduct
  • I am a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions