Skip to content

Add React Unit Tests and Coverage Report #7

Open
@amalnanavati

Description

@amalnanavati

Unit testing is a best practice for any software development, and React is no exception. This article and this has pointers on how to do unit tests and generate code coverage reports for React.

This issue encompasses the following TODOs:

  • Implementing unit testing in this repository and adding unit tests for the existing code.
  • Adding a CI check that runs unit tests.
  • Adding a CI check that generates a code coverage report and (soft-)blocks merging if the unit tests' coverage over code has decreased.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-processIssues related to continuous integration, dependencies, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions