Model Inference and Automatic Testing of Mobile Applications * - Archive ouverte HAL Access content directly
Journal Articles International Journal of Computer Aided Engineering and Technology Year : 2015

Model Inference and Automatic Testing of Mobile Applications *

(1, 2, 3) , (4)
1
2
3
4

Abstract

We consider, in this paper, the problem of automatically testing Mobile applications while inferring formal models expressing their functional behaviours. We propose a framework called MCrawlT, which performs automatic testing through application interfaces and collects interface changes to incrementally infer models expressing the navigational paths and states of the applications under test. These models could be later used for comprehension aid or to carry out some tasks automatically, e.g., the test case generation. The main contributions of this paper can be summarised as follows: we introduce a flexible Mobile application model that allows the definition of state abstraction with regard to the application content. This definition also helps define state equivalence classes that segment the state space domain. Our approach supports different exploration strategies by applying the Ant Colony Optimisation technique. This feature offers the advantage to change the exploration strategy by another one as desired. The performances of MCrawlT in terms of code coverage, execution time, and bug detection are evaluated on 30 Android applications and compared to other tools found in the literature. The results show that MCrawlT achieves significantly better code coverage in a given time budget.
Fichier principal
Vignette du fichier
document.pdf (1.49 Mo) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-02019666 , version 1 (14-02-2019)

Identifiers

  • HAL Id : hal-02019666 , version 1

Cite

Sébastien Salva, Patrice Laurencot. Model Inference and Automatic Testing of Mobile Applications *. International Journal of Computer Aided Engineering and Technology, 2015. ⟨hal-02019666⟩
62 View
48 Download

Share

Gmail Facebook Twitter LinkedIn More