[Paper Review] Automated Test Input Generation for Android: Are We There Yet?
This paper evaluates 12 leading automated test input generation tools for Android apps through a comprehensive empirical study, measuring code coverage, fault detection, cross-platform compatibility, and ease of use. The study reveals that while tools vary significantly in effectiveness, none support reproducible test cases or proper mocking, highlighting key gaps for future research in improving test tool reliability and developer usability.
Mobile applications, often simply called "apps", are increasingly widespread, and we use them daily to perform a number of activities. Like all software, apps must be adequately tested to gain confidence that they behave correctly. Therefore, in recent years, researchers and practitioners alike have begun to investigate ways to automate apps testing. In particular, because of Android's open source nature and its large share of the market, a great deal of research has been performed on input generation techniques for apps that run on the Android operating systems. At this point in time, there are in fact a number of such techniques in the literature, which differ in the way they generate inputs, the strategy they use to explore the behavior of the app under test, and the specific heuristics they use. To better understand the strengths and weaknesses of these existing approaches, and get general insight on ways they could be made more effective, in this paper we perform a thorough comparison of the main existing test input generation tools for Android. In our comparison, we evaluate the effectiveness of these tools, and their corresponding techniques, according to four metrics: code coverage, ability to detect faults, ability to work on multiple platforms, and ease of use. Our results provide a clear picture of the state of the art in input generation for Android apps and identify future research directions that, if suitably investigated, could lead to more effective and efficient testing tools for Android.
Motivation & Objective
- To evaluate the effectiveness of existing automated test input generation tools for Android apps across key criteria such as code coverage, fault detection, platform compatibility, and usability.
- To identify strengths and weaknesses of current tools and techniques in automated testing of Android applications.
- To provide actionable insights for improving test input generation tools, particularly in reproducibility, debugging support, and handling environmental dependencies.
- To guide future research by highlighting missing features such as mocking, sandboxing, and cross-device testing capabilities.
- To enable replication and extension of the study by publicly releasing all experimental data and infrastructure.
Proposed method
- The study evaluated 12 representative test input generation tools on over 60 real-world Android applications.
- Code coverage was measured using a custom instrumentation framework to track statement and branch coverage during test execution.
- Fault detection was assessed by logging uncaught runtime exceptions and validating them as actual failures through manual and automated checks.
- Cross-platform compatibility was evaluated by running tools on multiple Android framework versions (e.g., 4.1, 4.4, 5.0).
- Ease of use was assessed based on installation complexity, configuration requirements, and manual effort needed to run each tool.
- The evaluation included manual inspection of failure reports and stack traces to distinguish real faults from emulator or tool limitations.
Experimental results
Research questions
- RQ1How do existing automated test input generation tools for Android compare in terms of code coverage across diverse real-world applications?
- RQ2To what extent can these tools detect actual faults, and how reliable are the reported failures?
- RQ3How well do these tools support multiple Android platform versions, and what are the implications for cross-version testing?
- RQ4What are the practical usability challenges in deploying these tools in real development workflows?
- RQ5What critical features are missing in current tools that could significantly improve their effectiveness and developer adoption?
Key findings
- No tool supports reproducible test cases; failures are reported only via logfiles without executable test scripts, limiting debugging and replication.
- Most tools lack proper sandboxing, risking unintended side effects such as sending real emails or modifying user data during testing.
- None of the tools are specifically designed for cross-device or cross-configuration testing, despite Android’s well-known fragmentation challenges.
- The ability to manually provide inputs (e.g., login credentials) is limited to only a few tools like Dynodroid and GUIRipper, which significantly improves exploration of complex UI states.
- Coverage improvements are hindered by the lack of mocking support for content providers and system services, especially critical for apps like K-9 Mail.
- Despite high code coverage in some cases, fault detection remains inconsistent, with many reported exceptions likely caused by emulator limitations rather than actual application bugs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.