期刊
JOURNAL OF SYSTEMS AND SOFTWARE
卷 120, 期 -, 页码 70-88出版社
ELSEVIER SCIENCE INC
DOI: 10.1016/j.jss.2016.07.002
关键词
Self-adaptive application testing; Interactive application model; Sample-based testing
资金
- National Basic Research 973 Program [2015CB352202]
- National Natural Science Foundation of China [61472174, 91318301, 61321491]
Self-adaptive applications (apps for short) are useful but error-prone. This stems from developers' inadequate consideration of environmental dynamics and uncertainty. Two features of self-adaptive apps, infinite reaction loop and uncertain interaction, bring additional challenges to software testing and make existing approaches ineffective. In this article, we propose a novel approach SIT (Sample-based Interactive Testing) to testing self-adaptive apps effectively and in a light-weight way. Our key insight is that a self adaptive app's input space can be systematically split, adaptively explored, and mapped to the testing of the app's different behavior. This is achieved by our approach's two components, an interactive app model and a test generation technique. The former captures characteristics of interactions between an app and its environment, and the latter uses adaptive sampling to explore an app's input space and test its behavior. We experimentally evaluated our approach with real-world self-adaptive apps. The experimental results reported that our SIT improved the bug detection by 22.4-42.2%, but with a smaller time cost. Besides, SIT is also scalable with our tailored optimization techniques. (C) 2016 Elsevier Inc. All rights reserved.
作者
我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。
推荐
暂无数据