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

Set up testing infrastructure and improve test coverage for frontend components #3

Open
Hemanthr1 opened this issue Jul 19, 2024 · 0 comments
Labels

Comments

@Hemanthr1
Copy link
Member

Issue Description

Our frontend codebase currently lacks a testing infrastructure and comprehensive test coverage. We need to set up a testing environment, implement initial test cases, and gradually improve our test coverage to ensure better code quality, reliability, and maintainability. This is an excellent opportunity for the open source community to contribute to the project in multiple stages.

Environment

For Frontend Issues:

  • Browser: All modern browsers

Steps to Reproduce

N/A - This is an enhancement issue for setting up testing infrastructure and improving test coverage.

Expected Behavior

Phase 1 (Initial Setup):

  • A properly configured testing environment for the frontend
  • Initial test cases for key components and utilities
  • Documentation on how to write and run tests

Phase 2 (Ongoing Improvement):

  • Increased test coverage for frontend components and utilities
  • Improved reliability and easier maintenance of the codebase
  • Faster detection of potential bugs and regressions

Actual Behavior

  • No testing infrastructure in place
  • Lack of test cases for frontend components and utilities
  • Potential for undetected bugs in production
  • Some complex logic and edge cases are not adequately tested

Additional Context

  • This issue is crucial for establishing a testing culture in our project
  • We're starting from scratch, so any contribution is valuable
  • Focus on setting up the testing infrastructure and writing initial test cases, then gradually improving coverage
  • Consider using Jest and React Testing Library for component testing
  • Aim to create a solid foundation that can be built upon by future contributors
  • This issue can be tackled in multiple phases, allowing for ongoing contributions

We welcome contributions from the open source community to help set up our testing infrastructure, create initial test cases, and continuously improve our test coverage for frontend components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant