Skip to content

[✨ FEATURE]: Integrate Codecov for Test Coverage Reporting (Unit + E2E) #1696

@revaarathore11

Description

@revaarathore11

Feature Description 📝

Integrate Codecov to enable automated test coverage reporting for the repository.

This feature will add coverage tracking for existing Jest unit tests and optionally for Playwright end-to-end tests. Coverage reports should be generated during CI runs and uploaded to Codecov, enabling visibility into overall, patch, and file-level coverage.

Additionally, this integration will allow coverage status checks on pull requests and display a coverage badge in the README.

Motivation 🌟

While the project already has a solid test suite (unit tests via Jest and E2E tests via Playwright), there is currently no way to measure or track how much of the codebase is actually covered by tests.

Integrating Codecov will:

  • Improve visibility into test effectiveness
  • Help catch untested code paths early
  • Provide contributors with clear feedback on coverage changes in PRs
  • Encourage better testing practices over time

This will strengthen CI quality, increase confidence in changes, and improve the overall developer experience.

Expected Behavior 🤔

Once Codecov is integrated:

  • Jest unit tests generate coverage reports during CI runs
  • Coverage reports are automatically uploaded to Codecov
  • Pull requests display coverage status (project and patch coverage)
  • Coverage checks run as part of the CI pipeline
  • A Codecov badge in the README reflects current coverage status

Additional Information ℹ️

This feature focuses on CI and reporting only and does not require changes to existing test cases.

If accepted, I am happy to work on the implementation and open a pull request following the project’s CI and contribution guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions