论文标题
基于模型的移动应用程序的自动测试:工业案例研究
Model-based Automated Testing of Mobile Applications: An Industrial Case Study
论文作者
论文摘要
近年来,对移动应用程序的自动测试一直是经过深入研究的领域。但是,由于研究结果尚未完全转移和通过,在行业中进行的测试仍然是一种手动实践。考虑到移动应用程序,手动测试承担了许多可用设备和不同配置以及此类设备的维护和设置所带来的足够测试负担。 在本文中,我们提出和评估了基于模型的测试生成方法的使用,在该方法上,在一组云构建的真实移动设备上执行了生成的测试。通过使用基于模型的方法,我们可以生成动态,较弱和实现简单测试用例。具有不同配置的多个真实设备上的测试执行会增加对正在测试系统的实现的信心。我们的评估表明,使用的方法对与用户交互有关的应用程序的各个部分产生了高度覆盖。但是,为了增加完整申请的覆盖范围,需要将外部服务纳入测试生成。此外,我们介绍在工业环境中转移和实施这种方法并将其应用于真实产品时所学的教训。
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.