致移动软件开发人员的注意:猜猜看,测试你的应用程序!
To the Attention of Mobile Software Developers: Guess What, Test your App!
摘要:
软件测试是软件开发生命周期中的一个重要阶段,因为它有助于在软件系统交付给最终用户之前识别软件系统中的错误。有许多关于开发人员如何测试通用软件应用程序的研究。然而,移动软件应用程序的特性将移动应用程序与通用系统(例如,桌面、独立应用程序、Web服务)。本文研究了移动软件开发人员在测试方面的工作习惯和挑战。我们使用1000个Android应用程序进行了详尽的研究,其中一个关键发现表明,移动应用程序仍然以非常特殊的方式进行测试,如果进行测试的话。然而,我们表明,与其他类型的软件一样,测试提高了应用程序的质量(在用户评分和代码问题数量中得到证明)。此外,我们发现有证据表明,在吸引社区为移动开源软件做出贡献时,测试至关重要。我们讨论的原因和潜在的方向,以解决我们的研究结果。我们研究的另一个相关发现是,持续集成和持续部署(CI/CD)管道在移动应用程序世界中很少见(只有26%的应用程序是在使用CI/CD的项目中开发的)-我们认为主要原因之一是由于缺乏详尽和自动测试。
英文摘要:
Software testing is an important phase in the software development life-cycle because it helps in identifying bugs in a software system before it is shipped into the hand of its end users. There are numerous studies on how developers test general-purpose software applications. The idiosyncrasies of mobile software applications, however, set mobile apps apart from general-purpose systems (e.g., desktop, stand-alone applications, web services). This paper investigates working habits and challenges of mobile software developers with respect to testing. A key finding of our exhaustive study, using 1000 Android apps, demonstrates that mobile apps are still tested in a very ad hoc way, if tested at all. However, we show that, as in other types of software, testing increases the quality of apps (demonstrated in user ratings and number of code issues). Furthermore, we find evidence that tests are essential when it comes to engaging the community to contribute to mobile open source software. We discuss reasons and potential directions to address our findings. Yet another relevant finding of our study is that Continuous Integration and Continuous Deployment (CI/CD) pipelines are rare in the mobile apps world (only 26% of the apps are developed in projects employing CI/CD) --- we argue that one of the main reasons is due to the lack of exhaustive and automatic testing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。