BroncoDirectMe / BroncoDirectMe/Frontend

[PROJECT HEALTH] Component Unit Testing

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
Medium Project Health
Dominant language
TypeScript
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### User Story

As a developer, I want to ensure my React Components work in isolation, assuming all other components do not work.

### Technical Tasks

- Create automated unit tests with Selenium or a similar UI testing library to test individual components for proper functionality and edge cases
- Unit tests should be REALISTIC: they reflect typical user behavior and interaction
- Ensure proper documentation on how future unit tests should be written

Learning Resources:
- https://tuskr.app/learn/unit-testing
- https://www.selenium.dev/documentation/overview/
- https://www.browserstack.com/guide/automation-using-selenium-javascript
- https://jestjs.io

### Acceptance Criteria

- Each component has some unit tests (up to assignee as to how many) related to its functionality
- Documentation (either in code or wiki) outlines current and future practices for unit testing.

### Related Issues

- #137

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.