Test Case Generation Approach for Android Applications using Reinforcement Learning
No Thumbnail Available
Date
2024-04-27
Journal Title
Journal ISSN
Volume Title
Publisher
Engineering, Technology & Applied Science Research
Abstract
Mobile applications can recognize their computational setting and adjust and respond to actions in the context. This is known as context-aware computing. Testing context-aware applications is difficult due to their dynamic nature, as the context is constantly changing. Most mobile testing tools and approaches focus only on GUI events, adding to the deficient coverage of applications throughout testing. Generating test cases for various context events in Android applications can be achieved using reinforcement learning algorithms. This study proposes an approach for generating Android application test cases based on Expected State-Action-Reward-State-Action (E-SARSA), considering GUI and context events for effective testing. The proposed method was experimentally evaluated on eight Android applications, showing 48- 96% line of code coverage across them, which was higher than Q-testing and SARSA.
Description
Keywords
Android applications, test case generation, GUI event, context event, reinforcement learning, expected SARSA
Citation
Usman et al.: (2024). Generating Test Cases for Android Applications based on Reinforcement Learning. Engineering, Technology & Applied Science Research, 14(4).