探索一种用于选择和约束蜕变关系的测试数据驱动方法
Exploring a Test Data-Driven Method for Selecting and Constraining Metamorphic Relations
AI总结:
本文提出MetaTrimmer,一种基于测试数据选择和约束蜕变关系的方法,通过生成测试数据、记录违规和手动检查推导约束,避免了复杂预测模型,并与高级模糊测试无缝集成,初步评估显示其能增强MR有效性。
摘要:
识别和选择高质量的蜕变关系(MRs)是蜕变测试(MT)中的一项挑战。虽然已经提出了一些自动选择MRs的技术,但它们要么是特定领域的,要么依赖于对预定义MRs适用性的严格假设。本文对MetaTrimmer进行了初步评估,这是一种基于测试数据选择和约束MRs的方法。MetaTrimmer包含三个步骤:为SUT生成随机测试数据输入(步骤1),执行测试数据转换并记录MR违规(步骤2),以及进行手动检查以推导约束(步骤3)。MetaTrimmer的新颖之处在于它避免了需要关于MRs适用性标记数据集的复杂预测模型。此外,MetaTrimmer促进了MT与用于测试数据生成的高级模糊测试的无缝集成。在初步评估中,MetaTrimmer显示出克服现有局限性和增强MR有效性的潜力。
英文摘要:
Identifying and selecting high-quality Metamorphic Relations (MRs) is a challenge in Metamorphic Testing (MT). While some techniques for automatically selecting MRs have been proposed, they are either domain-specific or rely on strict assumptions about the applicability of a pre-defined MRs. This paper presents a preliminary evaluation of MetaTrimmer, a method for selecting and constraining MRs based on test data. MetaTrimmer comprises three steps: generating random test data inputs for the SUT (Step 1), performing test data transformations and logging MR violations (Step 2), and conducting manual inspections to derive constraints (Step 3). The novelty of MetaTrimmer is its avoidance of complex prediction models that require labeled datasets regarding the applicability of MRs. Moreover, MetaTrimmer facilitates the seamless integration of MT with advanced fuzzing for test data generation. In a preliminary evaluation, MetaTrimmer shows the potential to overcome existing limitations and enhance MR effectiveness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。