首页> 外文会议>IEEE International Conference on Software Testing, Verification and Validation >Barista: A Technique for Recording, Encoding, and Running Platform Independent Android Tests
【24h】

Barista: A Technique for Recording, Encoding, and Running Platform Independent Android Tests

机译:Barista:一种记录,编码和运行独立于平台的Android测试的技术

获取原文

摘要

Because mobile apps are extremely popular and often mission critical nowadays, companies invest a great deal of resources in testing the apps they provide to their customers. Testing is particularly important for Android apps, which must run on a multitude of devices and operating system versions. Unfortunately, as we confirmed in many interviews with quality assurance professionals, app testing is today a very human intensive, and therefore tedious and error prone, activity. To address this problem, and better support testing of Android apps, we propose a new technique that allows testers to easily create platform independent test scripts for an app and automatically run the generated test scripts on multiple devices and operating system versions. The technique does so without modifying the app under test or the runtime system, by (1) intercepting the interactions of the tester with the app and (2) providing the tester with an intuitive way to specify expected results that it then encode as test oracles. We implemented our technique in a tool named Barista and used the tool to evaluate the practical usefulness and applicability of our approach. Our results show that Barista (1) can faithfully encode user defined test cases as test scripts with built-in oracles that can run on multiple platforms and (2) outperforms two popular tools with similar functionality. Barista and our experimental infrastructure are publicly available.
机译:由于移动应用程序非常流行,并且如今在任务中至关重要,因此公司投入大量资源来测试他们提供给客户的应用程序。对于必须在多种设备和操作系统版本上运行的Android应用程序而言,测试尤为重要。不幸的是,正如我们在许多与质量保证专业人员的访谈中所证实的那样,应用程序测试如今是一项非常人性化的工作,因此是乏味且容易出错的活动。为解决此问题并更好地支持Android应用程序的测试,我们提出了一项新技术,该技术可使测试人员轻松为应用程序创建平台独立的测试脚本,并在多个设备和操作系统版本上自动运行生成的测试脚本。该技术无需修改被测应用程序或运行时系统即可做到这一点,方法是(1)拦截测试仪与应用程序的交互,以及(2)为测试仪提供一种直观的方式来指定预期结果,然后将其编码为测试预告片。我们在名为Barista的工具中实施了该技术,并使用该工具评估了该方法的实用性和适用性。我们的结果表明,Barista(1)可以忠实地将用户定义的测试用例编码为具有可在多个平台上运行的内置oracle的测试脚本,并且(2)优于具有相似功能的两个流行工具。咖啡师和我们的实验基础设施是公开可用的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号