Tag

React Testing Library

0 views collected around this technical thread.

Bitu Technology
Bitu Technology
Jul 26, 2023 · Frontend Development

Migrating from Enzyme to React Testing Library: Strategy, Tools, and Lessons Learned at Tubi

This article details Tubi's comprehensive migration from Enzyme to React Testing Library, covering the motivations, testing philosophy shifts, custom codemods, lint enforcement, progress tracking scripts, implementation examples, and the overall cost, timeline, and lessons learned from converting over 440 test files and 100k lines of code.

CodemodsEnzymeMigration
0 likes · 17 min read
Migrating from Enzyme to React Testing Library: Strategy, Tools, and Lessons Learned at Tubi
Sohu Tech Products
Sohu Tech Products
Apr 6, 2023 · Frontend Development

Migrating Sentry’s Front‑end Tests from Enzyme to React Testing Library

At Sentry, the team documented a year‑and‑four‑month effort to replace Enzyme with React Testing Library across thousands of tests, detailing the motivations, migration strategy, performance challenges, tooling changes, and the eventual benefits such as improved accessibility, reduced reliance on React internals, and a more maintainable test suite.

EnzymeMigrationReact Testing Library
0 likes · 14 min read
Migrating Sentry’s Front‑end Tests from Enzyme to React Testing Library
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Feb 17, 2022 · Frontend Development

Master Frontend Component Testing with Jest and React Testing Library

This article walks through the fundamentals of front‑end unit testing, covering why tests matter, popular frameworks like Jest, core APIs, mocking techniques, and how to use React Testing Library to render components, query elements, and simulate user events for reliable, maintainable code.

React Testing Libraryfrontendjest
0 likes · 17 min read
Master Frontend Component Testing with Jest and React Testing Library
GrowingIO Tech Team
GrowingIO Tech Team
Aug 19, 2021 · Frontend Development

Choosing the Right React Testing Tool: Jest vs Enzyme vs RTL

This article compares React component testing approaches, explains the difference between unit testing and end‑to‑end testing, evaluates popular tools such as Jest, Enzyme, and React Testing Library, and provides practical code examples, snapshot testing tips, and integration with Storybook.

EnzymeReact Testing LibrarySnapshot Testing
0 likes · 12 min read
Choosing the Right React Testing Tool: Jest vs Enzyme vs RTL
New Oriental Technology
New Oriental Technology
Jun 7, 2021 · Frontend Development

Introduction to Unit Testing with Jest and React Testing Library

This article explains the concept of unit testing, introduces the Jest framework and its configuration, demonstrates common APIs, matchers, asynchronous testing, mocking, coverage reporting, and shows how to test React components using React Testing Library with practical code examples.

React Testing LibraryTestingfrontend
0 likes · 18 min read
Introduction to Unit Testing with Jest and React Testing Library