【24h】

Fuzzy and Cross-App Replay for Smartphone Apps

机译:智能手机应用程序的模糊和交叉应用重播

获取原文

摘要

The behavior of smartphone apps is driven by input from sensors such as GPS, microphone, or camera. Hence the ability to construct test inputs, and send these inputs to the app is essential for testing. Leveraging our prior results in recording and replaying sensor inputs in Android apps we have constructed a new approach that helps automate smartphone app testing by capturing the input log (sensor stream) and using this log in two ways. First, we fuzz (alter) the log in a semantically-meaningful way: by applying principled transformations (e.g., changing GPS coordinates or navigation speed), a new input log is constructed, which represents a new test case. Second, we use the log captured in app A to test an app B which offers similar functionality, e.g., GPS navigation or image recognition. We have applied our approach to several widely-used Android apps and found that the approach is effective: it has revealed new bugs in four popular apps; has produced new test cases that increase coverage; and has produced test cases from logs originating in other apps.
机译:智能手机应用程序的行为由来自传感器的输入驱动,例如GPS,麦克风或相机。因此,能够构建测试输入,并将这些输入发送到应用程序对于测试至关重要。利用我们的先前结果在Android应用程序中记录和重放传感器输入,我们构建了一种新方法,可以通过捕获输入日志(传感器流)并以两种方式使用此日志来帮助自动化智能手机应用测试。首先,我们以语义上有意义的方式模糊(改变)日志:通过应用原则的转换(例如,改变GPS坐标或导航速度),构造了一个新的输入日志,表示新的测试用例。其次,我们使用应用程序A中捕获的日志来测试APP B,它提供类似的功能,例如GPS导航或图像识别。我们已将我们的方法应用于几个广泛使用的Android应用程序,并发现该方法是有效的:它已经揭示了四个流行的应用程序中的新错误;已经产生了增加覆盖率的新测试案例;并在源自其他应用程序的日志中生成了测试用例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号