Preference-wise Testing of Android Apps via Test Amplification

Android(操作系统) 计算机科学 程序员 图形用户界面测试 移动应用程序 代码覆盖率 测试用例 操作系统 嵌入式系统 软件 机器学习 万维网 用户界面 用户界面设计 回归分析
作者
Minxue Pan,Yifei Lu,Yu Pei,Tian Zhang,Xuandong Li
出处
期刊:ACM Transactions on Software Engineering and Methodology [Association for Computing Machinery]
卷期号:32 (1): 1-37 被引量:4
标识
DOI:10.1145/3511804
摘要

Preferences, the setting options provided by Android, are an essential part of Android apps. Preferences allow users to change app features and behaviors dynamically, and therefore their impacts need to be considered when testing the apps. Unfortunately, few test cases explicitly specify the assignments of valid values to the preferences, or configurations , under which they should be executed, and few existing mobile testing tools take the impact of preferences into account or provide help to testers in identifying and setting up the configurations for running the tests. This article presents the Prefest approach to effective testing of Android apps with preferences. Given an Android app and a set of test cases for the app, Prefest amplifies the test cases with a small number of configurations to exercise more behaviors and detect more bugs that are related to preferences. In an experimental evaluation conducted on real-world Android apps, amplified test cases produced by Prefest from automatically generated test cases covered significantly more code of the apps and detected seven real bugs, and the tool’s test amplification time was at the same order of magnitude as the running time of the input test cases. Prefest ’s effectiveness and efficiency in amplifying programmer-written test cases was comparable with that in amplifying automatically generated test cases.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
zhuyabo发布了新的文献求助100
1秒前
lin关闭了lin文献求助
2秒前
默存发布了新的文献求助10
2秒前
feng_qi001发布了新的文献求助10
2秒前
阿波罗完成签到 ,获得积分10
3秒前
赛赛完成签到 ,获得积分10
4秒前
3-HP完成签到,获得积分10
4秒前
vivia发布了新的文献求助10
4秒前
lyx发布了新的文献求助10
4秒前
5秒前
7秒前
7秒前
Lifetour发布了新的文献求助10
8秒前
NexusExplorer应助晶晶采纳,获得30
9秒前
9秒前
9秒前
Andrew完成签到,获得积分10
10秒前
可靠桃发布了新的文献求助10
10秒前
桐桐应助花文常采纳,获得10
11秒前
11秒前
11秒前
852应助周粥采纳,获得10
13秒前
feng发布了新的文献求助10
14秒前
Akim应助somin采纳,获得10
15秒前
15秒前
16秒前
17秒前
躺平girl发布了新的文献求助10
17秒前
跑不动的小李完成签到,获得积分10
18秒前
20秒前
苜蓿发布了新的文献求助20
21秒前
linxiang发布了新的文献求助10
23秒前
lll发布了新的文献求助10
23秒前
23秒前
mzhang2发布了新的文献求助10
23秒前
24秒前
莉莉安发布了新的文献求助10
25秒前
顾天理发布了新的文献求助10
25秒前
00完成签到,获得积分10
26秒前
高分求助中
ФОРМИРОВАНИЕ АО "МЕЖДУНАРОДНАЯ КНИГА" КАК ВАЖНЕЙШЕЙ СИСТЕМЫ ОТЕЧЕСТВЕННОГО КНИГОРАСПРОСТРАНЕНИЯ 3000
Les Mantodea de Guyane: Insecta, Polyneoptera [The Mantids of French Guiana] 2500
Future Approaches to Electrochemical Sensing of Neurotransmitters 1000
Electron microscopy study of magnesium hydride (MgH2) for Hydrogen Storage 1000
Finite Groups: An Introduction 800
Research on WLAN scenario optimisation policy based on IoT smart campus 500
生物降解型栓塞微球市场(按产品类型、应用和最终用户)- 2030 年全球预测 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3906036
求助须知:如何正确求助?哪些是违规求助? 3451621
关于积分的说明 10865627
捐赠科研通 3176971
什么是DOI,文献DOI怎么找? 1755185
邀请新用户注册赠送积分活动 848686
科研通“疑难数据库(出版商)”最低求助积分说明 791207