SEJan 18, 2018

CrashScope: A Practical Tool for Automated Testing of Android Applications

arXiv:1801.06428v181 citations
Originality Incremental advance
AI Analysis

This addresses the challenge for Android developers in testing mobile apps with contextual features, though it appears incremental compared to existing tools.

The authors tackled the problem of automated testing for Android applications by developing CrashScope, a tool that uses systematic input generation to trigger crashes and produces detailed reports with reproduction steps and scripts, finding it uncovers about as many crashes as other state-of-the-art tools.

Unique challenges arise when testing mobile applications due to their prevailing event-driven nature and complex contextual features (e.g. sensors, notifications). Current automated input generation approaches for Android apps are typically not practical for developers to use due to required instrumentation or platform dependence and generally do not effectively exercise contextual features. To better support developers in mobile testing tasks, in this demo we present a novel, automated tool called CrashScope. This tool explores a given Android app using systematic input generation, according to several strategies informed by static and dynamic analyses, with the intrinsic goal of triggering crashes. When a crash is detected, CrashScope generates an augmented crash report containing screenshots, detailed crash reproduction steps, the captured exception stack trace, and a fully replayable script that automatically reproduces the crash on a target device(s). Results of preliminary studies show that CrashScope is able to uncover about as many crashes as other state of the art tools, while providing detailed useful crash reports and test scripts to developers. Website: www.crashscope-android.com/crashscope-home Video url: https://youtu.be/ii6S1JF6xDw

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes