Skip to content

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 (🔵React.js).

Notifications You must be signed in to change notification settings

ShahramShakiba/Testing-ReactJS-Apps-Basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Laptop   Testing ReactJS Apps react logo

Bubbles  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:

White Flag   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

White Flag   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

White Flag   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

Laptop   Testing ReactJS Apps react logo

  • I aim to thoroughly test fundamental concepts in React applications to guarantee their functionality, performance, and dependability as the main goal of this project.

White Flag   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:

White Flag   Understanding Unit Tests

White Flag   Testing React Components & Building Blocks


To access further details, please refer the following two documents:

Man Detective Light Skin Tone Find me around the Web

linkedin logo     telegram logo     whatsapp logo     instagram logo     twitter logo

About

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 (🔵React.js).

Topics

Resources

Stars

Watchers

Forks