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

迈向完整的蜕变测试流水线

Towards a Complete Metamorphic Testing Pipeline

Alejandra Duque-Torres, Dietmar Pfahl

AI总结:

本研究针对蜕变测试中MR生成、选择与违规理解的全自动化挑战,开发了利用领域特定语言自动生成MR、定义适用性约束并提供可解释性的方法,旨在推进回归测试中的自动化与有效应用。

摘要:

蜕变测试(MT)通过检查待测系统(SUT)连续执行中输入输出对之间的关系来解决测试预言问题。这些关系被称为蜕变关系(MRs),指定了由特定输入变化引起的预期输出变化。然而,在生成、选择和理解MR违规方面实现完全自动化面临挑战。我们的研究旨在开发方法和工具,协助测试人员生成MRs、定义约束,并为MR结果提供可解释性。在MR生成阶段,我们探索利用领域特定语言来生成和描述MRs的自动化技术。MR约束定义侧重于通过定义约束来捕捉MR适用性的细微差别。这些约束有助于识别MRs预期成立的特定条件。评估和验证涉及进行实证研究,以评估所开发方法的有效性并验证其在真实世界回归测试场景中的适用性。通过这项研究,我们旨在推进MR生成的自动化,增强对MR违规的理解,并促进其在回归测试中的有效应用。

英文摘要:

Metamorphic Testing (MT) addresses the test oracle problem by examining the relationships between input-output pairs in consecutive executions of the System Under Test (SUT). These relations, known as Metamorphic Relations (MRs), specify the expected output changes resulting from specific input changes. However, achieving full automation in generating, selecting, and understanding MR violations poses challenges. Our research aims to develop methods and tools that assist testers in generating MRs, defining constraints, and providing explainability for MR outcomes. In the MR generation phase, we explore automated techniques that utilise a domain-specific language to generate and describe MRs. The MR constraint definition focuses on capturing the nuances of MR applicability by defining constraints. These constraints help identify the specific conditions under which MRs are expected to hold. The evaluation and validation involve conducting empirical studies to assess the effectiveness of the developed methods and validate their applicability in real-world regression testing scenarios. Through this research, we aim to advance the automation of MR generation, enhance the understanding of MR violations, and facilitate their effective application in regression testing.

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

↑