quality_assurance · travel · workflow
Airbnb migrates 3.5K Enzyme test files to React Testing Library with LLMs in 6 weeks
Airbnb needed to migrate nearly 3.5K React component test files from Enzyme to React Testing Library, but the frameworks differed too fundamentally to automate simply, and deleting the files would create significant code coverage gaps. Manual migration was estimated at 1.5 years of engineering time.
How it works
Common implementation structure
How this type of workflow is generally built, generalized across documented cases — not tied to any one vendor's stack. Click any stage to read what happens there. Specific products that implement these stages appear in “Tools commonly seen” below.
Stage 1 · Migration initiation
Airbnb decides to migrate nearly 3.5K React component test files from Enzyme to React Testing Library.
Tools used
React Testing LibraryEnzymefrontier models
Outcome
Using LLMs and a step-based automation pipeline with retry loops, Airbnb migrated 75% of files in the first four-hour bulk run and reached 97% automation after four days of refinement, completing the full 3.5K-file migration in just 6 weeks — against a 1.5-year manual estimate — while maintaining original test intent and code coverage.
Results
Time saved1.5 years
Volume3.5K
Source
https://medium.com/airbnb-engineering/accelerating-large-scale-test-migration-with-llms-9565c208023b
Grounding & classification
Source type: technical build writeup
27 fields verified against source quotes, 1 dropped as unverifiable.
agentic workflowcode generationcode diff prfailure mode describedhuman review describedmetric backednamed customerproduction runtime claimedtools describedworkflow describedsoftwaretravelautomation ratecycle time reductiontime savedtechnical build writeupquality assuranceagentic task executionhuman review queue