Authors
Wing Lam, Kıvanç Muşlu, Hitesh Sajnani, Suresh Thummalapenta
Publication date
2020/6/27
Book
Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering
Pages
1471-1482
Description
During regression testing, developers rely on the pass or fail outcomes of tests to check whether changes broke existing functionality. Thus, flaky tests, which nondeterministically pass or fail on the same code, are problematic because they provide misleading signals during regression testing. Although flaky tests are the focus of several existing studies, none of them study (1) the reoccurrence, runtimes, and time-before-fix of flaky tests, and (2) flaky tests in-depth on proprietary projects.
This paper fills this knowledge gap about flaky tests and investigates whether prior categorization work on flaky tests also apply to proprietary projects. Specifically, we study the lifecycle of flaky tests in six large-scale proprietary projects at Microsoft. We find, as in prior work, that asynchronous calls are the leading cause of flaky tests in these Microsoft projects. Therefore, we propose the first automated solution, called Flakiness and …
Total citations
20202021202220232024626272617
Scholar articles
W Lam, K Muşlu, H Sajnani, S Thummalapenta - Proceedings of the ACM/IEEE 42nd International …, 2020