Skip to content

Implement Jest and RTL for FE unit testing #68

@krisette

Description

@krisette

User Story: Implement Jest and RTL for FE unit testing

Parent Feature

Description

As a frontend developer,
Given that we have a growing React codebase with multiple components and functionalities,
I want to implement unit testing using Jest and React Testing Library,
So that we can ensure each component behaves as expected, catch potential bugs early, and maintain a high standard of code quality throughout the development process.

Acceptance Criteria

  • Jest and React Testing Library are correctly installed and configured in the project.
  • Existing React components have corresponding test files with sufficient test coverage.
  • New components are developed alongside unit tests, ensuring ongoing coverage.
  • Tests are run automatically as part of the continuous integration pipeline.
  • Documentation is updated to include guidelines on writing and running tests.

Definition of Done

  • All acceptance criteria are met.
  • Unit tests pass consistently.
  • Code review is completed and all feedback is addressed.
  • Documentation is complete and reviewed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FEFront-end workuser storyA single, actionable task focused on delivering specific user value

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions