Lyndsi Williamslyndsiwilliams.hashnode.dev·Jul 20, 2023Apache Superset: Testing and Enzyme to RTL conversionSuperset uses Jest and React Testing Library (RTL) to write unit and integration tests. In the past we used Enzyme, but now that we're currently converting all of our class components to functional components, Enzyme cannot support our testing needs....DiscussApache Superset
Balogun Abdulquadrinonamepls.hashnode.dev·Jul 13, 2023How To Test Your Javascript Code For Beginners7 out of 10 times when you get a job, you'll be working with other people's code. it's hard enough understanding your code after leaving it for a while moreso another developer's code whose work might look alien to you Depending on your next line of ...DiscussJest
Ákos KőművesProakoskm.com·Jul 8, 2023How to test a className with Jest and React testing libraryWhen testing JavaScript applications, one of the most common checks I see is if an element has a specific class or an element with some class has some text. Think of an Alert like this: <div role="alert" className="alert alert-error"> Something wen...Discuss·943 readsTesting ReactJest
Muhammad Usmanmusman.hashnode.dev·Jul 6, 2023Add React Testing in Next.js: A 5-Step Guide! 🚀Are you ready to level up your testing skills in Next.js? Adding React Testing Library doesn't have to be a daunting task! Follow this light-hearted and easy-to-follow guide, peppered with humor and emojis, to seamlessly integrate testing into your N...DiscussReact
Paweł Bogutapawelboguta.hashnode.dev·Apr 17, 2023How to unit test your React AppWhile 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 context o...Discuss·42 readsunit testing
neicoreforClickPesa Techclickpesa.hashnode.dev·Apr 13, 2023Testing React apps with Testing libraryTesting 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 application functi...Discuss·14 likes·58 readsReact
King AJforOpen Replay's Technical Blogopenreplay.hashnode.dev·Apr 2, 2023Unit Testing with the React Testing LibraryUnit 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 components of our application are tested in isolation fr...Discuss·1 like·50 readsunit testing
Mohammad Faisalmdfaisal.hashnode.dev·Mar 8, 2023End-to-end testing with ReactJS and PuppeteerPuppeteer 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 can also b...DiscussReact
Mohit Mohliamohitmohlia.hashnode.dev·Mar 3, 2023React Testing Beginner's guide | RTL & Jest Part - 1If 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 a decent conversation with the interviewer until ...Discuss·1 like·90 readsTestingReact
Caleb Benjamincalebbenjin.hashnode.dev·Jan 22, 20235 reasons why you need to start writing Test-driven development (TDD)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. Improve code quality: Writing tests for your app help...Discuss·12 likes·44 readsTesting