Ayush Kumarnamaste-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...Jest
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 ...11 likesJest
Oluwafemi Sosanyadev-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...100 readsTesting a React AppReact
Konark sharmakonark.hashnode.dev·Mar 29, 2024Mastering React Testing: Best Practices and StrategiesReact testing is the process of testing your React components and applications to make sure that they work properly and meet the desired requirements. Testing our React components and applications involve running various tests to make sure that they ...React
Erba Afidotamaerba-writing.hashnode.dev·Jan 23, 2024React Unit Testing using @testing-library/reactExample component code: import {useState} from 'react'; const Text = ({text}) => { const [state, setState]= useState(0); const add = () => { setState(state+1) }; return ( <div> <h1>Hello World</h1> ...getbytext
AtulforPococaretech.pococare.com·Sep 24, 2023Test your react component using PlaywrightTesting is an integral part of the software development process. When it comes to web development, testing React components is crucial to ensure that your application functions as expected. Playwright is a powerful tool that can help you automate bro...16 likes·312 readsqa testing
Vishwas Acharyavishwasacharya.hashnode.dev·Jun 8, 2023How to test your React components like a proIntroduction React is a popular JavaScript library used for building user interfaces, and it's important to ensure that your components are thoroughly tested to guarantee their functionality and reliability. Testing React components can be challengin...1 likeReact
Akshat Vishwakarmaakshatv.hashnode.dev·May 6, 2023Jest and React Testing Library: Harnessing the Power of Unit and Integration Testing in Your React AppIntroduction Testing is a critical aspect of building robust and reliable React applications. When it comes to testing React components, Jest and React Testing Library are two popular frameworks that complement each other well. In this blog, we will ...179 readsJest
Blossomblossom.hashnode.dev·Feb 1, 2023UI Testing: Unit vs Component testWhen it comes to testing your frontend applications; there are many testing methodologies: unit testing, component testing, integration and end-to-end test. This article focuses on unit and component testing as they are commonly used interchangeably ...15 likes·355 readsfrontend conceptsreact testing
Ravi KumarforFor Devs By Devsfor-devs-by-devs.hashnode.dev·Nov 21, 2022Login form testing using React Testing LibraryReact Testing Library The react-testing-library is a very light-weight solution for testing React components. It provides light utility functions on top of react-dom and react-dom/test-utils, in a way that encourages better testing practices. So rath...1 like·4.9K readslogin form