Tag

Enzyme

1 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
0 likes · 14 min read
Migrating Sentry’s Front‑end Tests from Enzyme to 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.

EnzymeReActReact Testing Library
0 likes · 12 min read
Choosing the Right React Testing Tool: Jest vs Enzyme vs RTL
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 3, 2021 · Frontend Development

Frontend Unit Testing Technical Solutions: A Comprehensive Guide

This guide surveys modern frontend unit‑testing solutions, comparing Node’s assert, Chai, Mocha, Jasmine, and Jest, explaining module formats, environment setups for Node, JSDOM, and real browsers, and detailing React testing with Jest + Enzyme’s shallow, mount, and render methods.

EnzymeKarmaMocha
0 likes · 25 min read
Frontend Unit Testing Technical Solutions: A Comprehensive Guide
Ctrip Technology
Ctrip Technology
Jan 16, 2020 · Frontend Development

Comprehensive Guide to Unit Testing in React and React Native Projects

This article presents a complete tutorial on setting up and using Jest, Enzyme, and react‑hooks‑testing‑library for unit testing React and React Native applications, covering environment configuration, simple function tests, lifecycle hooks, mocking, snapshot testing, asynchronous tests, Redux and Hook testing, as well as coverage reporting and CI integration.

EnzymeReActReact Native
0 likes · 13 min read
Comprehensive Guide to Unit Testing in React and React Native Projects