12月1日:董震
发布时间:2021-11-29 浏览量:1170

报告题目Flaky Test Detection in Android via Event Order Exploration

报告时间:12月1日 14:00 – 15:00

报告主持人:苏亭

线下报告地点:理科大楼B407

腾讯会议号:503-653-610

报告摘要:

Validation of Android apps via testing is difficult owing to the presence of flaky tests. Due to non-deterministic execution environments, a sequence of events (a test) may lead to success or failure in unpredictable ways. In this work, we present an approach and tool FlakeScanner for detecting flaky tests through exploration of event orders. Our key observation is that for a test in a mobile app, there is a testing framework thread which creates the test events, a main User-Interface (UI) thread processing these events, and there may be several other background threads running asynchronously. For any event e, whose execution involves potential non-determinism, we localize the earliest (latest) event after (before) which e must happen. We then efficiently explore the schedules between the upper/lower bound events while grouping events within a single statement, to find whether the test outcome is flaky. We also create a suite of subject programs called FlakyAppRepo (containing 33 widely-used Android projects) to study flaky tests in Android apps. Our experiments on the subject-suite FlakyAppRepo show FlakeScanner detected 45 out of 52 known flaky tests as well as 245 previously unknown flaky tests among 1444 tests.



报告人简介:

Zhen Dong is a pre-tenure Associate Professor at Fudan University. Before joining Fudan University, Zhen was a senior PostDoc at the National University of Singapore. Zhen received his PhD from Heidelberg University in 2017. His research interest is development of techniques and tools for improving software reliability and security, particularly in the area of mobile computing. His work won the ACM Distinguished Paper Award at ICSE'20 and the Best Paper Award at AsiaCCS'21.



华东师范大学软件工程学院
学院地址:上海中山北路3663号理科大楼

                上海市浦东新区楠木路111号
院长信箱:yuanzhang@sei.ecnu.edu.cn | 办公邮箱:office@sei.ecnu.edu.cn | 院办电话:021-62232550
www.sei.ecnu.edu.cn Copyright Software Engineering Institute