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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
xiaotaiyang完成签到,获得积分10
刚刚
王世缘完成签到,获得积分10
1秒前
1秒前
从容芮应助北风和太阳采纳,获得50
1秒前
1秒前
XXXXXX完成签到,获得积分10
2秒前
善良曼寒完成签到,获得积分20
3秒前
wanci应助不安储采纳,获得10
3秒前
脑洞疼应助春暖花开采纳,获得10
3秒前
所所应助芋你呀采纳,获得10
3秒前
4秒前
英吉利25发布了新的文献求助20
4秒前
科研老白完成签到,获得积分10
4秒前
77完成签到 ,获得积分10
4秒前
5秒前
orixero应助明理的帆布鞋采纳,获得10
5秒前
知夏完成签到,获得积分20
5秒前
快乐的元霜完成签到,获得积分10
5秒前
Orange应助饱满的靖易采纳,获得10
6秒前
乐乐应助w吴栋臣采纳,获得10
6秒前
熙熙完成签到,获得积分10
6秒前
Jasper应助Long采纳,获得10
6秒前
7秒前
科研通AI5应助别抢我辣条采纳,获得10
7秒前
木头人完成签到,获得积分10
8秒前
8秒前
chengli发布了新的文献求助10
8秒前
隐形曼青应助梦中有琦采纳,获得10
8秒前
stupid发布了新的文献求助10
9秒前
10秒前
汉堡包应助zxy采纳,获得10
11秒前
雪白巨人发布了新的文献求助10
11秒前
11秒前
量子星尘发布了新的文献求助10
11秒前
caigou发布了新的文献求助10
12秒前
13秒前
凑个数完成签到 ,获得积分10
13秒前
思源应助小李呀采纳,获得10
13秒前
13秒前
李健应助下次见采纳,获得10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Разработка технологических основ обеспечения качества сборки высокоточных узлов газотурбинных двигателей,2000 1000
Vertebrate Palaeontology, 5th Edition 500
ISO/IEC 24760-1:2025 Information security, cybersecurity and privacy protection — A framework for identity management 500
碳捕捉技术能效评价方法 500
Optimization and Learning via Stochastic Gradient Search 500
Nuclear Fuel Behaviour under RIA Conditions 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 4700296
求助须知:如何正确求助?哪些是违规求助? 4068713
关于积分的说明 12579364
捐赠科研通 3768536
什么是DOI,文献DOI怎么找? 2081193
邀请新用户注册赠送积分活动 1109075
科研通“疑难数据库(出版商)”最低求助积分说明 987244