Context-Aware Android Applications Testing

  • Diego Rodrigues de Almeida UFCG
  • Patrícia D. L. Machado UFCG
  • Wilkerson L. Andrade UFCG


Context-aware applications (CAAs) are those that use information from the environment based on sensors such as gyroscope, GPS, and accelerometer. Compared to desktop and web applications, there are additional challenges to test CAAs. It is necessary to take input from users and sensors into account, which can lead to the explosion of possible situations. This work aims to present an approach that makes it possible to automate the black-box testing of context-aware Android applications that follow paths using GPS. Our approach consists of selecting, through pairwise testing, combinations of sensor values with events that occur during the execution of the application under test (AUT). The approach is implemented in a tool supporting GPS-based applications. The approach and tool were analyzed through an empirical study with four real GPS-based applications. Initial results show they can be effective in detecting possible defects related to the context.
Palavras-chave: Context-aware application, Android, Testing automation
Como Citar

Selecione um Formato
ALMEIDA, Diego Rodrigues de; MACHADO, Patrícia D. L.; ANDRADE, Wilkerson L.. Context-Aware Android Applications Testing. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 34. , 2020, Natal. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2020 .