arrow
Return

Test Report Generation for Android App Testing Via Heterogeneous Data Analysis

delete2023-05-01
delete0
PRE
AI
房
房春荣 (Chunrong Fang) *
S
Shengcheng Yu
T
Ting Su
J
Jing Zhang
Y
Yuanhan Tian
刘
刘洋 (Yang Liu)
DOI:10.1109/TSE.2023.3237247delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The rising of the Android market demands higher quality assurance of Android applications (apps) to sharpen the competitive edge, and techniques for traditional software have problems adapting for mobile apps. Android apps often require testing on a large-scale device cluster, which produces a large amount of test reports consisting of heterogeneous data, e.g., hardware information, GUI screenshots, runtime logs. Such data are hard to merge to be unified analyzed, while they serve as an essential basis for bug inspection and fixing. Existing test report generation or analysis techniques can only handle testing data from different devices separately. They simply list all the information to app developers and have no further processing to summarize test reports. Besides, they neglect the inner connection of the heterogeneous data. Such techniques cannot improve the report reviewing effectiveness and efficiency, and they can hardly find the inner links and rules of the bug occurrence on different devices. As a result, developers still need to devote many efforts to inspect and fix bugs. In this paper, a large amount of test reports are investigated by the authors, as to construct a structured bug model to analyze heterogeneous data of the testing results. According to the investigation, we also define the Bug Inconsistency of testing results from multiple devices and build a novel bug taxonomy. In general, an automated approach is proposed to generate structured and comprehensible test reports from raw testing results from multiple devices. Based on the approach, a tool, namely BreGat, is implemented to evaluate the classification and deduplication capability of our approach. The experimental results of 30 Android apps on 20 devices show that BreGat can successfully cover 83% bug categories and exclude 76% duplicate bugs. Furthermore, a user study involving 16 developers shows that our test reports are more comprehensible and BreGat greatly improves the bug inspection efficiency compared to the state-of-the-art tool.
Keywords:
Computer bugs
Testing
Graphical user interfaces
Operating systems
Mobile applications
Taxonomy
Inspection
Android testing
GUI testing
test report generation

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.9K
Citations:
1.1W

Organization

E
east china normal university
Scholars:
3.1W
Papers: 2.1W
Citations: 25
N
Nanyang Technological University
Scholars:
4.9W
Papers: 4.8W
Citations: 8.1W
N
nanjing university
Scholars:
7.8W
Papers: 5.6W
Citations: 87
researcher View more organizations
Cited Papers

Cited Papers

Titania Nanobelts as a Scattering Layer with Cu2ZnSnS4 as a Counter Electrode for DSSC with Improved Efficiency
err2018-01-01
err0
PREAI
errSiva Sankar Nemala; Krishnaiah Mokurala; Parag Bhargava; Sudhanshu Mallick
errShare
errSave
errShare
errSave
Echocardiographic Assessment of Ventricular Function in Young Patients with Asthma
err2018-01-01
err0
errOAAI
errCamilla Rayane De-Paula; Giselle Santos Magalhães; Nulma Souto Jentzsch; Camila Figueredo Botelho; Cleonice de Carvalho Coelho Mota; Tatiane Moisés Murça; Lidiana Fatima Correa Ramalho; Timothy C. Tan; Carolina Andrade Braganca Capuruço; Maria da Gloria Rodrigues-Machado
errShare
errSave
Understanding and Detecting Fragmentation-Induced Compatibility Issues for Android Apps
err2020-11-01
err27
PREAI
errWei, Lili; Liu, Yepang; Cheung, Shing-Chi; Huang, Huaxun; Lu, Xuan; Liu, Xuanzhe
errShare
errSave
researcher View more