© 2023 Hashnode
#react-testing-library
While writing React code, it is important to ensure its quality and reliability. One key aspect of achieving this is through unit testing, a technique where individual units of code are tested to ensure that they perform as expected. In the…
Testing is an essential aspect of software development that ensures the quality and reliability of software products. React, being one of the most popular JavaScript frameworks, requires a robust testing strategy to ensure that the applicat…
Unit testing is a method of testing that tests individual pieces of code, such as functions or classes, to ensure they are working correctly. When carrying out unit testing in React, individual compon…
Puppeteer is a Node library that provides a high-level API to control Chrome or Chromium over the DevTools Protocol. It can be used to automate tasks in the browser, such as generating screenshots and PDFs or tracking user interactions. It …
If you are a person who just finished Learning React Framework and got fairly good at it. You start giving Interviews, You almost got the skills for developing Single Page applications. You are having…
Writing tests for your app helps to ensure that your code is functioning correctly and is free of bugs. This improves the overall quality of your app, making it more reliable and user-friendly. 1. Imp…
React Testing Library React Testing Library is a testing framework for React applications that helps you test the behaviour of your components rather than their implementation details. It is built on …
Why do testing in the first place? Let's say that you are working on a signup form and have just added a couple of fields with some functionality. Testing it manually means you need to go through the …
OTHER ARTICLES IN SERIES #1: Introduction #2: Setting up Next.js Project for testing #3: Writing the tests #3A: What should I test? #3B: Testing App Initial Load #3C: User can create a post #3D: U…