Ayush KumarforNamaste React - Blognamaste-react.hashnode.dev·Oct 7, 2024🧪Testing Library 🦑 - JEST1. Types of testing (developer) : Unit Testing : Testing One Component in Isolation || means seperately Integration Testing : Testing Integration of Components End to End Testing (or) e2e Testing : End-to-end testing verifies that all components...DiscussJest
Bhupendrabhuppi.hashnode.dev·Sep 11, 2024Test suites and TestsIn React testing, test suites and tests are ways to organize and run tests to ensure your application works as expected. 1. Test Suite: A test suite is a group of tests. It contains multiple tests related to a particular feature or functionality of y...Discussreact test
Abhishek Sadhwaniabhisheksadhwani.hashnode.dev·Sep 10, 2024React Component Testing: A Complete Guide to Jest and React Testing LibraryAs a developer we want the chances of our program failing to be minimal, that’s why testing is an important part of modern development. In a react application as the complexity of the application increases, it becomes critical to test the working of ...Discuss·11 likesJest
Suraj Choudharysurajcode.hashnode.dev·Jun 27, 2024Step-by-Step Jest Testing Library for React DevelopersThere are mainly 3 Types of testing that developers do. Unit Testing: Testing individual units or components. Integrated Testing: Testing between two units or component E — 2 — E Testing: Test Start to end complete project. Where do we focus mos...Discuss·10 likesReact
R Chantechcode.hashnode.dev·Jun 19, 2024How to Uniquely Identify an HTML element using React Test Library ?The data-testid attribute is a custom attribute commonly used in testing to uniquely identify elements in the HTML markup. Unlike standard attributes like id, class, or name, which are typically used for styling or JavaScript interactions, the data-t...Discuss·39 readsFrontendReact
Oluwafemi SosanyaforDev Toolkitdev-toolkit.com·May 18, 2024Setting Up and Testing a React Application with VitestWelcome to the first part of our detailed series on setting up and testing a React app. Configuring and testing a React app can be daunting, especially when it comes to ensuring that your components, hooks, and utilities work as expected. In this art...Discuss·97 readsTesting a React AppReact
DevJoseManueldevjosemanuel.hashnode.dev·Apr 15, 2024La función act()En el anterior artículo de la serie vimos cómo podíamos testear un custom hook que habíamos desarrollado pero únicamente centrándonos en ver cómo probar el valor que se le asignará a un atributo que definimos dentro del estado del hook. En concreto e...DiscussTestingReact
Nisha neginishanegi.hashnode.dev·Apr 10, 2024Unit Testing With Jest And RTL(React Testing Library)Unit testing is a software testing process in which individual software units or components are tested independently. A "unit" is the smallest testable unit of software, such as a function, method, or class. Unit testing ensures that each software un...Discuss·10 likes·60 readsunit testing
Gautam VajaforCodeParrot 10x Dev10xdev.codeparrot.ai·Mar 22, 2024Test your React Apps with VitestWhat is React Testing? 🤔 React testing refers to the process of verifying the functionality and performance of React components and applications. It involves simulating user interactions, validating component outputs, and ensuring that the applicati...Discuss·30 likes·229 readsenzyme
Lucie Yarishlucieyarish.hashnode.dev·Mar 16, 2024Testing React Apps Built with Vite: Setting up Jest and React Testing LibraryIntroduction to Testing React Applications with Jest and React Testing Library Testing our React applications is essential for ensuring its functionality and reliability. With numerous modern testing frameworks available for React applications, selec...Discuss·85 readsReactReact