降低持续演进的癌症登记系统测试成本
Cost Reduction on Testing Evolving Cancer Registry System
AI总结:
本文提出 EvoClass,通过机器学习分类器预测并过滤 EvoMaster 生成的无效请求,在十年版本、三种环境的 GURI 评估中降低约31%测试成本且不损失规则覆盖率。
摘要:
由挪威癌症登记处(CRN)构建的癌症登记支持系统(CaReSS)是一个复杂的现实社会技术软件系统,其实现持续演进。因此,需要使用自动化测试工具对 CaReSS 进行持续测试,以始终确保其可靠性。为了对 CaReSS 的一个关键软件子系统(即 GURI)进行自动化测试,我们展示了对开源工具 EvoMaster 的一项扩展的实际应用;EvoMaster 使用演化算法自动生成测试用例。我们将该扩展命名为 EvoClass,它通过一个机器学习分类器增强 EvoMaster,以降低总体测试成本。这一点势在必行,因为使用 EvoMaster 测试涉及向部署在不同环境(包括生产环境)中的 GURI 发送大量请求,而大量请求可能影响其性能和功能。EvoClass 的机器学习分类器能够预测 EvoMaster 生成的请求是否会成功执行;如果不会,分类器会过滤掉此类请求,从而减少要在 GURI 上执行的请求数量。我们在四年时间、三种环境(开发、测试和生产)中的十个 GURI 版本上评估了 EvoClass。结果表明,与默认 EvoMaster 相比,EvoClass 能够在所有三种环境中显著降低持续演进的 GURI 的测试成本,且不会降低测试有效性(以规则覆盖率衡量)。总体而言,EvoClass 实现了约31%的总体成本降低。最后,我们报告了对研究人员和从业者同样有价值的经验与教训。
英文摘要:
The Cancer Registration Support System (CaReSS), built by the Cancer Registry of Norway (CRN), is a complex real-world socio-technical software system that undergoes continuous evolution in its implementation. Consequently, continuous testing of CaReSS with automated testing tools is needed such that its dependability is always ensured. Towards automated testing of a key software subsystem of CaReSS, i.e., GURI, we present a real-world application of an extension to the open-source tool EvoMaster, which automatically generates test cases with evolutionary algorithms. We named the extension EvoClass, which enhances EvoMaster with a machine learning classifier to reduce the overall testing cost. This is imperative since testing with EvoMaster involves sending many requests to GURI deployed in different environments, including the production environment, whose performance and functionality could potentially be affected by many requests. The machine learning classifier of EvoClass can predict whether a request generated by EvoMaster will be executed successfully or not; if not, the classifier filters out such requests, consequently reducing the number of requests to be executed on GURI. We evaluated EvoClass on ten GURI versions over four years in three environments: development, testing, and production. Results showed that EvoClass can significantly reduce the testing cost of evolving GURI without reducing testing effectiveness (measured as rule coverage) across all three environments, as compared to the default EvoMaster. Overall, EvoClass achieved ~31% of overall cost reduction. Finally, we report our experiences and lessons learned that are equally valuable for researchers and practitioners.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。