Android Unit Test Case Generation Based on the Strategy of Multi-Dimensional Coverage

Jie Cao,Han Huang,Fangqing Liu
DOI: https://doi.org/10.1109/ccis53392.2021.9754637
2021-01-01
Abstract:Although Android apps are becoming more and more popular, apps tend to contain defects which can ultimately manifest as failures (or crashes) to end-users. In order to improve software quality, people have proposed different automated tools for testing Android applications. The automatic generation of test cases is an important means to improve the efficiency of software testing, but many tools related to test case generation do not seem to be fully adapted to the problem of Android test case generation. Therefore, this article aims to design and evaluate the automatic generation method of Android application test cases based on the multi-dimensional coverage. We conducted test experiments on 48 self-developed Android apps through the Gradle plugin, and the final average target coverage reached about 32%. Considering that the current component modules are not yet complete, we believe that tools will reach even higher coverage in the future.
What problem does this paper attempt to address?