Testing Criteria for Mobile Apps Based on Callback Sequences

11/20/2019
by   Danilo Dominguez Perez, et al.
0

App quality has been shown to be the most important indicator of app adoption. To assure quality, developers mainly use testing to find bugs in app and apply structural and GUI test coverage criteria. However, mobile apps have more behaviors than the GUI actions, e.g. an app also handles events from sensors and executes long-running background tasks through Android API calls to Services and AsyncTasks. Our studies found that there are important app behaviors via callback interactions that should be covered in testing, as data sharing between callbacks is common and is the cause of many existing bugs. We design a family of test criteria based on callback sequences and use the Callback Control Flow Automata (CCFA) to measure the coverage for testing. Our experiments show that guiding by our criteria, testing can find more bugs and trigger bugs faster than the state-of-the-art tools.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/07/2018

MobiCoMonkey - Context Testing of Android Apps

The functionality of many mobile applications is dependent on various co...
research
09/22/2020

App Parameter Energy Profiling: Optimizing App Energy Drain by Finding Tunable App Parameters

In this paper, we observe that modern mobile apps come with a large numb...
research
06/06/2023

ωTest: WebView-Oriented Testing for Android Applications

WebView is a UI widget that helps integrate web applications into the na...
research
01/29/2022

Aper: Evolution-Aware Runtime Permission Misuse Detection for Android Apps

The Android platform introduces the runtime permission model in version ...
research
02/05/2020

A Framework for In-Vivo Testing of Mobile Applications

The ecosystem in which mobile applications run is highly heterogeneous a...
research
05/27/2022

NaviDroid: A Tool for Guiding Manual Android Testing via Hint Moves

Manual testing, as a complement to automated GUI testing, is the last li...
research
12/04/2020

Automated, Cost-effective, and Update-driven App Testing

Apps' pervasive role in our society led to the definition of test automa...

Please sign up or login with your details

Forgot password? Click here to reset