一句话:提出六种基于近期与频繁失败信息的浏览器环境优先级技术,加速 Web 应用回归测试的失败反馈。
客户端 Web 应用在不同浏览器类型和底层平台上可能表现出不同失败,随着应用演化,需要在众多浏览器环境中进行回归测试,导致测试成本高、失败反馈延迟。本文提出六种技术,用于在跨浏览器环境回归测试时更快地向开发者反馈失败。这些技术借鉴测试用例优先级排序方法,但排序对象是浏览器环境,依据是近期和频繁失败信息。作者用四个非平凡且流行的开源 Web 应用进行评估,并与无排序和随机排序两种基线比较。结果表明,所提技术在成本效益上优于基线,相对无排序的提升率为 −12.24% 到 39.05%,相对随机排序为 −0.04% 到 45.85%。
When testing client-side web applications, it is important to consider different web-browser environments. Different properties of these environments such as web-browser types and underlying platforms may cause a web application to exhibit different types of failures. As web applications evolve, they must be regression tested across these different environments. Because there are many environments to consider this process can be expensive, resulting in delayed feedback about failures in applications. In this work, we propose six techniques for providing a developer with faster feedback on failures when regression testing web applications across different web-browser environments. Our techniques draw on methods used in test case prioritization; however, in our case we prioritize web-browser environments, based on information on recent and frequent failures. We evaluated our approach using four non-trivial and popular open-source web applications. Our results show that our techniques outperform two baseline methods, namely, no ordering and random ordering, in terms of the cost-effectiveness. The improvement rates ranged from −12.24% to 39.05% for no ordering, and from −0.04% to 45.85% for random ordering.
DOI 原文 ·
@inproceedings{paperbot4420,
title = {Prioritizing browser environments for web application test execution},
author = {Jung-Hyun Kwon and In-Young Ko and Gregg Rothermel},
booktitle = {ICSE},
year = {2018},
doi = {10.1145/3180155.3180244}
}