Enhancing Testing at Meta with Rich-State Simulated Populations
Fuente:
arXiv
Gespeichert in:
| Hauptverfasser: | , , , , , , , , , , , , , |
|---|---|
| Format: | Preprint |
| Veröffentlicht: |
2024
|
| Schlagworte: | |
| Online-Zugang: | |
| Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
| _version_ | 1866914724925407232 |
|---|---|
| author | Alshahwan, Nadia Blasi, Arianna Bojarczuk, Kinga Ciancone, Andrea Gucevska, Natalija Harman, Mark Schellaert, Simon Harper, Inna Jia, Yue Królikowski, Michał Lewis, Will Martac, Dragos Rojas, Rubmary Ustiuzhanina, Kate |
| author_facet | Alshahwan, Nadia Blasi, Arianna Bojarczuk, Kinga Ciancone, Andrea Gucevska, Natalija Harman, Mark Schellaert, Simon Harper, Inna Jia, Yue Królikowski, Michał Lewis, Will Martac, Dragos Rojas, Rubmary Ustiuzhanina, Kate |
| contents | This paper reports the results of the deployment of Rich-State Simulated Populations at Meta for both automated and manual testing. We use simulated users (aka test users) to mimic user interactions and acquire state in much the same way that real user accounts acquire state. For automated testing, we present empirical results from deployment on the Facebook, Messenger, and Instagram apps for iOS and Android Platforms. These apps consist of tens of millions of lines of code, communicating with hundreds of millions of lines of backend code, and are used by over 2 billion people every day. Our results reveal that rich state increases average code coverage by 38\%, and endpoint coverage by 61\%. More importantly, it also yields an average increase of 115\% in the faults found by automated testing. The rich-state test user populations are also deployed in a (continually evolving) Test Universe; a web-enabled simulation platform for privacy-safe manual testing, which has been used by over 21,000 Meta engineers since its deployment in November 2022. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2403_15374 |
| institution | arXiv |
| publishDate | 2024 |
| record_format | arxiv |
| spellingShingle | Enhancing Testing at Meta with Rich-State Simulated Populations Alshahwan, Nadia Blasi, Arianna Bojarczuk, Kinga Ciancone, Andrea Gucevska, Natalija Harman, Mark Schellaert, Simon Harper, Inna Jia, Yue Królikowski, Michał Lewis, Will Martac, Dragos Rojas, Rubmary Ustiuzhanina, Kate Software Engineering This paper reports the results of the deployment of Rich-State Simulated Populations at Meta for both automated and manual testing. We use simulated users (aka test users) to mimic user interactions and acquire state in much the same way that real user accounts acquire state. For automated testing, we present empirical results from deployment on the Facebook, Messenger, and Instagram apps for iOS and Android Platforms. These apps consist of tens of millions of lines of code, communicating with hundreds of millions of lines of backend code, and are used by over 2 billion people every day. Our results reveal that rich state increases average code coverage by 38\%, and endpoint coverage by 61\%. More importantly, it also yields an average increase of 115\% in the faults found by automated testing. The rich-state test user populations are also deployed in a (continually evolving) Test Universe; a web-enabled simulation platform for privacy-safe manual testing, which has been used by over 21,000 Meta engineers since its deployment in November 2022. |
| title | Enhancing Testing at Meta with Rich-State Simulated Populations |
| topic | Software Engineering |
| url | https://arxiv.org/abs/2403.15374 |