Asana's engineering team used OpenAI Codex to finish migrating its frontend test suite from Enzyme to React Testing Library in two calendar weeks. The final push took about a week and a half of engineering time. This was the end of an existing migration, not a new project completed from scratch: at the previous pace, Asana had estimated that about five more years of work remained. Enzyme is now gone from the company's codebase.
Asana started the migration in 2022. By then, the Enzyme library was losing community support, worked poorly with newer versions of React and encouraged tests that depended on implementation details. React Testing Library instead let engineers write tests around what users see and do. Asana staffed several engineering projects against the migration, and product teams converted the parts they owned, but progress at that pace still left years of work ahead. For the final push, the team set itself a goal of finishing the remaining migration in a week.
The team ran up to four Codex agents at once, using OpenAI frontier models with the reasoning setting set to extra high. Each agent worked on a different directory. The agents ran during the day and overnight, and engineers checked progress each morning and evening and opened pull requests. The team used a short prompt that asked the agents to convert Enzyme tests to React Testing Library, follow the repository's existing conventions, run the tests and start with easier files. The engineers also tried tracked tickets, a running notes file, more detailed instructions and further subdivision of the work, but reported that the simpler setup worked better.
The codebase already contained React Testing Library examples, established conventions and test helpers. The agents could follow those examples and get feedback from type checks, linting, tests and continuous integration. Engineers still had to intervene when old internal guidance pointed the agents back toward Enzyme, or when linting was slow or CI checks behaved differently from local checks. The finish condition was concrete: no Enzyme left in the codebase.
Asana reported roughly $11K in model usage and another $1K in infrastructure. The project also improved test coverage, fixed poor-quality tests and removed parts of the older testing infrastructure. Asana estimated that doing the same scope manually would have represented about $6M in fully loaded engineering effort; that was a comparison estimate, not a measured saving. The engineering team says the experience has changed how it evaluates other long-running migrations and rewrites.
Details
- City
- San Francisco
- Organization
- Asana, Inc.
- Continent
- North America
- Country
- United States
- Category
- Software
- Type
- Deployment
- Id
- ff724dd4-7243-4429-82b8-5d8bb8a125a6
- Created At
- 24 Nov 2026