Metamorphic testing seeks to verify software in the absence of test oracles. Our application domain is ocean system modeling, where test oracles rarely exist, but where symmetries of the simulated physical systems are known. The input data set is large owing to the requirements of the application domain. This paper presents work in progress for the automated generation of metamorphic test scenarios using machine learning. We extended our previously proposed method [1] to identify metamorphic relations with reduced computational complexity. Initially, we represent metamorphic relations as identity maps. We construct a cost function that minimizes for identifying a metamorphic relation orthogonal to previously found metamorphic relations and penalize for the identity map. A machine learning algorithm is used to identify all possible metamorphic relations minimizing the defined cost function. We propose applying dimensionality reduction techniques to identify attributes in the input which have high variance among the identified metamorphic relations. We apply mutation on these selected attributes to identify distinct metamorphic relations with reduced computational complexity. For experimental evaluation, we subject the two implementations of an ocean-modeling application to the proposed method to present the use of metamorphic relations to test the two implementations of this application.
翻译:我们的应用领域是海洋系统模型,其中测试或触觉很少存在,但模拟物理系统的对称性是已知的。输入数据集因应用域的要求而庞大。本文件介绍的是利用机器学习自动生成变形测试假想的进行中工作。我们扩展了我们先前提出的方法[1],以识别计算复杂性降低的变形关系。我们最初将变形关系作为身份图。我们构建了成本功能,最大限度地用于识别与先前发现的变形关系的变形关系,对身份图进行惩罚。机器学习算法用于确定所有可能的变形关系,尽量减少确定的成本函数。我们提议应用维度消化技术来识别输入中的属性,这些属性与已确定的变形关系差异很大。我们对这些选定属性进行突变,以识别与变形复杂性降低的截然不同的变形关系。在实验性评估中,我们将海洋建模应用两种应用作为目前采用变形关系应用的两种方法进行测试。