A Test Case Design Method for Context Aware Android Applications

Zahra Shafiei, Amir Jahangard Rafsanjani · 2020

Context-aware applications are programs that use information about the environment of the user and objects and people which are present at that location and do some actions automatically according to this information. One of the most important branches in the field of context aware applications are android applications that are becoming more and more widespread today. In this paper, we introduce a test case design approach for context-aware android applications. In this approach we use the information in the manifest file and static analysis of the source code to find context-aware and sensitive points of the application and definitions and uses of these points. This information is added to the control-flow graph of the application. Then we apply data flow testing criteria to the resulting model. The evaluation results show that the all-uses criteria have acceptable error detection rate and it can cover all context-aware points of the application using fewer tests than all-du-path coverage criteria.

Read the paper · More papers on PaperTik