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

Add Testing Framework (Jest & Cypress) for Frontend #236

Open
dnafication opened this issue Oct 9, 2023 · 1 comment
Open

Add Testing Framework (Jest & Cypress) for Frontend #236

dnafication opened this issue Oct 9, 2023 · 1 comment
Labels
help wanted Extra attention is needed testing Issues related to testing. typescript Issues regarding TypeScript.

Comments

@dnafication
Copy link
Contributor

We currently lack a testing framework for the First Issue application. The absence of unit tests makes it challenging to ensure that new changes do not break existing functionality. To address this, we should introduce and configure Jest and/or Cypress, both popular JavaScript testing frameworks.

  1. Integrate the testing framework for the frontend components.
  2. Write unit tests to cover various functionalities of the frontend.
  3. Introduce mocking for external dependencies to isolate components during testing.
  4. Set up scripts the test to run tests automatically during development (e.g., with watch mode).
  5. Configure Jest to generate coverage reports to monitor test coverage.

Follow best practices while implementing this. Not all of the above points may be applicable but its just guidelines.

@lucavallin lucavallin added help wanted Extra attention is needed typescript Issues regarding TypeScript. testing Issues related to testing. labels Oct 9, 2023
@ShivamDureja
Copy link

Is this issue still open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed testing Issues related to testing. typescript Issues regarding TypeScript.
Projects
None yet
Development

No branches or pull requests

3 participants