https://github.com/asrieldreemurrgm/jest_testing_practice
Practice project for testing components and user interactions using React, Redux, and Jest.
https://github.com/asrieldreemurrgm/jest_testing_practice
frontend react react-testing-library redux testing typescript unit-testing
Last synced: 3 days ago
JSON representation
Practice project for testing components and user interactions using React, Redux, and Jest.
- Host: GitHub
- URL: https://github.com/asrieldreemurrgm/jest_testing_practice
- Owner: AsrielDreemurrGM
- Created: 2025-02-20T06:00:14.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-07-27T11:20:38.000Z (3 months ago)
- Last Synced: 2025-08-10T00:26:28.084Z (2 months ago)
- Topics: frontend, react, react-testing-library, redux, testing, typescript, unit-testing
- Language: TypeScript
- Homepage:
- Size: 363 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
React Redux Testing Practice With Jest
Este README também está disponível em Português.
Practical project focusing on unit and component testing using Jest in a React + Redux environment.📋 Project Overview
This repository contains a small React + Redux application used to practice writing tests using Jest.
The goal is to ensure the rendering of a component and simulate user interactions, like inserting comments.🚀 Technologies Used
- React
- Redux
- TypeScript
- Jest
- React Testing Library
✅ How to Run
- Install dependencies:
npm install
or
yarn install
- Run tests:
npm run test
or
yarn test
- Start the application:
npm start
or
yarn start
📜 Commits Overview
-
Rendering Test Created – Basic render verification for the post component; -
Comment Insertion Test – Added test for inserting two comments; also:
- Added
alt
to image; - Added
data-testid
to textarea and button; - Added script to check coverage.
- Added
-
Project Setup – Initial setup and folder structure adjustments.