arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1910.08768cs.SE
收藏

移动测试框架的能量足迹研究

On the Energy Footprint of Mobile Testing Frameworks

Luís Cruz, Rui Abreu

摘要:

高能耗是当今越来越多的移动应用面临的一个具有挑战性的问题。然而,尽管能耗是应用程序的重要非功能性需求,但仍以临时方式进行测试。这种限制在软件测试期间变得特别令人不安:一方面,开发人员并不真正知道如何测量能量;另一方面,不知道测试框架所施加的能量开销是什么。在本文中,当我们评估八个流行的移动UI自动化框架时,我们发现有些自动化框架的能耗增加了大约2200%。虽然在交互方面受到限制,但Espresso是最节能的框架。但是,根据测试人员的需要,Appium、Monkeyrunner或UIAutomator都是不错的选择。在实践中,结果表明,决定哪个是最合适的框架是至关重要的。我们提供了一个决策树来帮助开发人员对哪个框架最适合他们的测试需求做出明智的决定。

英文摘要:

High energy consumption is a challenging issue that an ever increasing number of mobile applications face today. However, energy consumption is being tested in an ad hoc way, despite being an important non-functional requirement of an application. Such limitation becomes particularly disconcerting during software testing: on the one hand, developers do not really know how to measure energy; on the other hand, there is no knowledge as to what is the energy overhead imposed by the testing framework. In this paper, as we evaluate eight popular mobile UI automation frameworks, we have discovered that there are automation frameworks that increase energy consumption up to roughly 2200%. While limited in the interactions one can do, Espresso is the most energy efficient framework. However, depending on the needs of the tester, Appium, Monkeyrunner, or UIAutomator are good alternatives. In practice, results show that deciding which is the most suitable framework is vital. We provide a decision tree to help developers make an educated decision on which framework suits best their testing needs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑