SENov 20, 2019

Testing Criteria for Mobile Apps Based on Callback Sequences

arXiv:1911.09201v11 citations
Originality Incremental advance
AI Analysis

This addresses a domain-specific issue for mobile app developers by improving testing effectiveness, though it is incremental as it builds on existing structural and GUI coverage methods.

The paper tackles the problem of insufficient testing coverage for mobile apps by proposing test criteria based on callback sequences, which led to finding more bugs and triggering them faster than state-of-the-art tools.

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.

Foundations

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

Your Notes