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

基于模型的移动应用程序自动化测试:一个工业案例研究

Model-based Automated Testing of Mobile Applications: An Industrial Case Study

Stefan Karlsson, Adnan Čaušević, Daniel Sundmark, Mårten Larsson

摘要:

移动应用程序的自动测试是近年来研究的一个热点。然而,工业中的测试仍然是一种非常手工的做法,因为研究成果尚未完全转移和采用。考虑到移动应用,手动测试具有由大量可用设备和不同配置以及这些设备的维护和设置所造成的充分测试的额外负担。在本文中,我们提出并评估使用基于模型的测试生成方法,生成的测试上执行一组云托管的真实移动设备。通过使用基于模型的方法,我们生成动态的,不那么脆弱,实现简单的测试用例。在具有不同配置的多个真实设备上执行测试增加了被测系统实现的信心。我们的评估表明,所使用的方法产生了高覆盖率的用户交互相关的应用程序的部分。尽管如此,在测试生成中需要包含外部服务,以额外增加完整应用程序的覆盖范围。此外,我们提出了在工业环境中转移和实施这种方法并将其应用于实际产品时所吸取的经验教训。

英文摘要:

Automatic testing of mobile applications has been a well-researched area in recent years. However, testing in industry is still a very manual practice, as research results have not been fully transferred and adopted. Considering mobile applications, manual testing has the additional burden of adequate testing posed by a large number of available devices and different configurations, as well as the maintenance and setup of such devices. In this paper, we propose and evaluate the use of a model-based test generation approach, where generated tests are executed on a set of cloud-hosted real mobile devices. By using a model-based approach we generate dynamic, less brittle, and implementation simple test cases. The test execution on multiple real devices with different configurations increase the confidence in the implementation of the system under test. Our evaluation shows that the used approach produces a high coverage of the parts of the application related to user interactions. Nevertheless, the inclusion of external services in test generation is required in order to additionally increase the coverage of the complete application. Furthermore, we present the lessons learned while transferring and implementing this approach in an industrial context and applying it to the real product.

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

↑