Evaluation of Automatic Test Case Generation for Android Operating System using Deep Reinforcement Learning

被引:0
作者
Santos, Cleicy Priscilla [1 ]
Cardoso, Ana Paula [1 ]
Almeida, Marlon Griego [1 ]
Lima, Kelen [1 ]
Quiroga, Pablo [1 ]
Collins, Eliane [2 ]
机构
[1] Univ Fed Amazonas, Manaus, Amazonas, Brazil
[2] Inst Desenvolvimento Tecnol, Manaus, Amazonas, Brazil
来源
PROCEEDINGS OF THE 22TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY | 2023年
关键词
Test Automation; Automatic Test Generation; Reinforcement Learning; AI; Android;
D O I
10.1145/3629479.3629503
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The industry of large-scale software for mobile devices, such as the Android operating system, presents significant challenges regarding software validation and testing. This is due to the need to test on various devices, operating system versions, connections, and different hardware configurations. As a result, the manual creation of test cases can be a time-consuming process, and test cases can become outdated with updates in the Android version. To tackle these challenges, automatic test case generation emerges as an effective solution to streamline test creation and updates. In this context, Artificial Intelligence (AI) techniques, such as Deep Reinforcement Learning (DRL), have been explored to optimize this process and ensure adequate coverage of system requirements. This study evaluated the performance of the DRL state-of-the-art tool for test case generation DRL-MOBTEST [3] in an industry scenario context to generate test cases for Android functional applications (apps). The tool was performed in nine native apps (clock, maps, calculator, wallpaper, calendar, contacts, YouTube, drive, and files) regarding the functionalities coverage. The results showed a coverage range of 74.43%, and we compared it with the random Android SDK tool Monkey in five applications, revealing a trend of 63.52% improvement. The DRL-MOBTEST tool achieved the coverage of basic application paths through the creation of different test input types, such as symbols, numbers, and letters. It enables professionals to focus on complex scenarios and improve software quality across different devices and hardware configurations. However, it's worth noting that human supervision is still necessary despite the advances offered by automated tools.
引用
收藏
页码:228 / 235
页数:8
相关论文
共 28 条
[1]   Reinforcement Learning for Android GUI Testing [J].
Adamo, David ;
Khan, Md Khorrom ;
Koppula, Sreedevi ;
Bryce, Renee .
PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18), 2018, :2-8
[2]  
Ammann P., 2016, Introduction to software testing, DOI 10.1017/9781316771273
[3]   An orchestrated survey of methodologies for automated software test case generation [J].
Anand, Saswat ;
Burke, Edmund K. ;
Chen, Tsong Yueh ;
Clark, John ;
Cohen, Myra B. ;
Grieskamp, Wolfgang ;
Harman, Mark ;
Harrold, Mary Jean ;
McMinn, Phil ;
Bertolino, Antonia ;
Li, J. Jenny ;
Zhu, Hong .
JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) :1978-2001
[4]  
[Anonymous], 2023, Download Android Studio & App Tools-Android Developers
[5]  
[Anonymous], 2023, Enterprise Open Source and Linux | Ubuntu
[6]  
[Anonymous], 2023, Android | A plataforma que redefine o impossivel
[7]  
[Anonymous], 2023, About us
[8]  
[Anonymous], 2023, GitHub-DroidTest/TimeMachine: Time-travel Testing
[9]  
[Anonymous], 2014, CODASPY 14 P 4 ACMCO
[10]  
[Anonymous], 2023, DRL-MOBTEST