首页> 外文期刊>Information and software technology >Characterizing mobile apps from a source and test code viewpoint
【24h】

Characterizing mobile apps from a source and test code viewpoint

机译:从源代码和测试代码角度表征移动应用

获取原文
获取原文并翻译 | 示例
           

摘要

Context while the mobile computing market has expanded and become critical, the amount and complexity of mobile apps have also increased. To assure reliability, these apps require software engineering methods, mainly verification, validation, and testing. However, mobile app testing is a challenging activity due to the diversity and limitations found in mobile devices. Thus, it would be interesting to characterize mobile apps in hopes of assisting in the definition of more efficient and effective testing approaches. Objective: this paper aims to identify and quantify the specific characteristics of mobile apps so that testers can draw from this knowledge and tailor software testing activities to mobile apps. We investigate the presence of automated tests, adopted frameworks, external connectivity, graphical user interface (GUI) elements, sensors, and different system configurations. Method: we developed a tool to support the automatic extraction of characteristics from Android apps. We conducted an empirical study with a sample of 663 open source mobile apps. Results: we found that one third of the projects perform automated testing. The frameworks used in these projects can be divided into three groups: unit testing, GUI testing, and mocking. There is a medium correlation between project size and test presence. Specific features of mobile apps (connectivity, GUI, sensors, and multiple configurations) are present in the projects, however, they are fully covered by tests. Conclusion: automated tests are still not developed in a systematic way. Interestingly, measures of app popularity (number of downloads and rating) do not seem to be correlated with the presence of tests. However, the results show a correlation of the project size and more critical domains with the existence of automated tests. Although challenges such as connectivity, sensors, and multiple configurations are present in the examined apps, only one tool has been identified to support the testing of these challenges.
机译:背景技术尽管移动计算市场已经扩展并变得至关重要,但移动应用程序的数量和复杂性也在增加。为了确保可靠性,这些应用需要软件工程方法,主要是验证,确认和测试。但是,由于移动设备的多样性和局限性,移动应用程序测试是一项具有挑战性的活动。因此,表征移动应用程序的特性以希望有助于定义更有效的测试方法将是很有趣的。目的:本文旨在识别和量化移动应用程序的特定特征,以便测试人员可以从这些知识中汲取经验,并针对移动应用程序量身定制软件测试活动。我们调查自动化测试,采用的框架,外部连接,图形用户界面(GUI)元素,传感器和不同系统配置的存在。方法:我们开发了一种工具来支持从Android应用程序中自动提取特征。我们对663个开源移动应用进行了实证研究。结果:我们发现三分之一的项目执行自动化测试。这些项目中使用的框架可以分为三类:单元测试,GUI测试和模拟。项目规模和测试存在之间存在中等相关性。项目中提供了移动应用程序的特定功能(连接性,GUI,传感器和多种配置),但是测试已全面涵盖了这些功能。结论:自动化测试仍然没有系统地开发。有趣的是,应用受欢迎程度的度量(下载次数和评级)似乎与测试的存在无关。但是,结果表明项目规模和更关键的领域与自动测试的存在相关。尽管所检查的应用程序中存在诸如连接性,传感器和多种配置之类的挑战,但仅确定了一种工具即可支持对这些挑战的测试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号