Observation-based unit test generation at Meta
Not on the map. Why?
Abstract (arXiv)
TestGen automatically generates unit tests, carved from serialized observations of complex objects, observed during app execution. We describe the development and deployment of TestGen at Meta. In particular, we focus on the scalability challenges overcome during development in order to deploy observation-based test carving at scale in industry. So far, TestGen has landed 518 tests into production, which have been executed 9,617,349 times in continuous integration, finding 5,702 faults. Meta is currently in the process of more widespread deployment. Our evaluation reveals that, when carving its observations from 4,361 reliable end-to-end tests, TestGen was able to generate tests for at least 86% of the classes covered by end-to-end tests. Testing on 16 Kotlin Instagram app-launch-blocking tasks demonstrated that the TestGen tests would have trapped 13 of these before they became launch blocking.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Feb 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025Mutation-Guided LLM-based Test Generation at Metacited by 23
- 2025AI-Driven Tools in Modern Software Quality Assurance: An Assessment of Benefits, Challenges, and Future Directionscited by 3
- 2025Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challengescited by 1
- 2025LLM Assisted Coding with Metamorphic Specification Mutation Agentcited by 1
- 2026Just-in-Time Catching Test Generation at Metacited by 1
- 2026Just-in-Time Catching Test Generation at Meta30 Jan 2026
- 2025LLM Assisted Coding with Metamorphic Specification Mutation Agent23 Nov 2025
- 2025AI-Driven Tools in Modern Software Quality Assurance: An Assessment of Benefits, Challenges, and Future Directions19 Jun 2025
- 2025Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challenges23 Apr 2025
- 2025Mutation-Guided LLM-based Test Generation at Meta22 Jan 2025