Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahramshakiba/testing-reactjs-apps-basic
Unit Tests ⚙️ | I aim to thoroughly test "fundamental concepts" in React applications to guarantee their functionality, performance, and dependability as the main goal of this project.
https://github.com/shahramshakiba/testing-reactjs-apps-basic
testing-library-react testing-react-apps
Last synced: 2 days ago
JSON representation
Unit Tests ⚙️ | I aim to thoroughly test "fundamental concepts" in React applications to guarantee their functionality, performance, and dependability as the main goal of this project.
- Host: GitHub
- URL: https://github.com/shahramshakiba/testing-reactjs-apps-basic
- Owner: ShahramShakiba
- Created: 2024-04-19T10:41:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T08:38:12.000Z (7 months ago)
- Last Synced: 2024-04-20T13:12:20.416Z (7 months ago)
- Topics: testing-library-react, testing-react-apps
- Language: JavaScript
- Homepage:
- Size: 205 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# _Testing ReactJS Apps_
### _Description_
> ### _Testing ReactJS Apps_ ensures that the app functions correctly, performs well, and delivers a seamless user experience.
#### _Manual Testing & Automated Testing_:
- The key difference between _Manual Testing_ and _Automated Testing_ lies in the level of human intervention and the use of automation tools.
- While ` Manual-Testing ` relies on human testers to execute test cases manually, ` Automated-Testing ` leverages tools to automate test execution and verification.#### _Different Kinds Of Automated Tests_:
#### _` Unit Tests `_
Unit tests are focused on testing individual Function, Components or units of code in isolation to ensure they function correctly.
- Projects typically contain dozens or hundreds of unit tests
#### _` Integration Tests `_
Involve testing how different units or modules interact with each other.
These tests validate the integration of various components and ensure that they work together smoothly as a system.
- Projects typically contain a couple of integration tests
#### _` End-to-End (E2E) Tests `_
End-to-end tests are more comprehensive and simulate real-world scenarios by testing the Entire Application from start to finish.
- Projects typically contain only a few E2E tests### _Testing ReactJS Apps_
- #### I aim to thoroughly test _fundamental concepts_ in React applications to guarantee their functionality, performance, and dependability as the main goal of this project.
_Required Tools & Setup_ :
- _We need a tool for running our tests and asserting the results_: • Jest
- _We need a tool for "simulating" (rendering) our React app_: • React Testing Library
> _Which Concepts in Have I Covered_:#### _Understanding Unit Tests_
#### _Testing React Components & Building Blocks_
> _To access further details, please refer the following two documents_:
- _Jest_
- _React Testing Library_
- _React Hook Testing Library_