一句话:提出 LAND 工具,通过构建可复用 GUI 窗口转换模型 LATTE,实现 Android 应用可定制测试生成并提高覆盖率。
针对基于模型的 GUI 探索技术多关注探索过程而忽视模型复用的问题,本文提出 LAND,一个面向 Android 应用的易用且可定制的测试生成工具。LAND 在用户交互遍历界面元素时构建精细的窗口转换模型 LATTE,该模型融入更多 Android 特有特征,并通过复用该模型提供可定制的测试生成接口。作者在 20 个真实 Android 应用上构建模型并生成测试用例,实验表明 LAND 能达到更高代码覆盖率,并在更短序列中触发异常;同时 LATTE 能在不同测试套件生成需求下良好复用。
Model-based GUI exploration techniques are widely used to generate test cases for event-driven programs (such as Android apps). These techniques traverse the elements of screens during the user interaction and simultaneously construct the GUI model. Although there are a number of automatic model-based exploration tools, most of them pay more attention to the exploration procedure than the model reusing. This paper presents LAND, an effective and user-friendly test generation tool based on GUI exploration of Android apps, which constructs an elaborate window transition model ``LATTE'' that considers more Android specific characteristics and provides a customizable test generation interface by reusing the model. Experiments on 20 real-world Android apps are conducted to construct their models as well as test cases. The experimental results indicate that LAND can achieve higher code coverage and trigger exceptions in shorter sequence. It is also demonstrated that LATTE can be well reused under different requirements of test suite generation. A demo video of our tool can be found at the website https://www.youtube.com/watch?v=iqtr12eiJ_0.
DOI 原文 ·
@inproceedings{paperbot4835,
title = {LAND: a user-friendly and customizable test generation tool for Android apps},
author = {Jiwei Yan and Linjie Pan and Yaqi Li and Jun Yan and Jian Zhang},
booktitle = {ISSTA},
year = {2018},
doi = {10.1145/3213846.3229500}
}