Tuli, S;
Bojarczuk, K;
Gucevska, N;
Harman, M;
Wang, XY;
Wright, G;
(2023)
Simulation-Driven Automated End-to-End Test and Oracle Inference.
In:
Proceedings - 2023 IEEE/ACM 45th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP).
(pp. pp. 122-133).
IEEE
Preview |
Text
RPS5.pdf - Accepted Version Download (705kB) | Preview |
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 pass rates. Specifically, we demonstrate that using ALPACAS significantly improves coverage from a manual test design for the particular aspect of integrity end-to-end testing it was applied to. Further, from a pool of 3 million data points, ALPACAS automatically yields 39 production-ready end-to-end integrity tests. We also report that the ALPACAS-inferred test suite enjoys exceptionally low flakiness for end-to-end testing with its average in-production pass rate of 99.84%.
Type: | Proceedings paper |
---|---|
Title: | Simulation-Driven Automated End-to-End Test and Oracle Inference |
Event: | 2023 IEEE/ACM 45th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) |
Dates: | 14 May 2023 - 20 May 2023 |
ISBN-13: | 9798350300376 |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1109/ICSE-SEIP58684.2023.00016 |
Publisher version: | https://doi.org/10.1109/ICSE-SEIP58684.2023.00016 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | Automated Test Design, Oracle Problem, Automated Oracle Inference, Test Automation, Safety Testing, Integrity Testing |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10199777 |
Archive Staff Only
View Item |