Simulation-Driven Automated End-to-End Test and Oracle Inference
Shreshth Tuli, Kinga Bojarczuk, Natalija Gucevska, Mark Harman,, Xiao-Yu Wang, Graham Wright

TL;DR
This paper presents ALPACAS, an automated tool that infers end-to-end integrity tests and their oracles at scale in industry, significantly improving test coverage and reliability for Meta's platforms.
Contribution
It introduces ALPACAS, the first scalable industrial system for automated inference of end-to-end tests and oracles based on production interventions.
Findings
ALPACAS increased test coverage compared to manual testing.
Automatically generated 39 production-ready tests from 3 million data points.
Test suite achieved an average pass rate of 99.84%, indicating low flakiness.
Abstract
This is the first work to report on inferential testing at scale in industry. Specifically, it reports the experience of automated testing of integrity systems at Meta. We built an internal tool called ALPACAS for automated inference of end-to-end integrity tests. Integrity tests are designed to keep users safe online by checking that interventions take place when harmful behaviour occurs on a platform. ALPACAS infers not only the test input, but also the oracle, by observing production interventions to prevent harmful behaviour. This approach allows Meta to automate the process of generating integrity tests for its platforms, such as Facebook and Instagram, which consist of hundreds of millions of lines of production code. We outline the design and deployment of ALPACAS, and report results for its coverage, number of tests produced at each stage of the test inference process, and their…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Advanced Malware Detection Techniques
