利用半监督学习预测变形关系
Using Semi-Supervised Learning for Predicting Metamorphic Relations
摘要:
软件测试很难自动化,尤其是在没有oracle或确定哪个输出是正确的方法的程序中。变形测试是解决这一问题的一种方法。变形测试使用变形关系来定义测试用例和预期输出。领域专家需要大量的时间来确定哪些变形关系可以用于测试给定的程序。变形关系预测消除了对这种专家的需求。我们提出了一种方法,使用半监督机器学习来检测变形关系适用于一个给定的代码库。我们将这种半监督模型与监督模型进行比较,并表明未标记数据的加入提高了MR预测模型的分类精度。
英文摘要:
Software testing is difficult to automate, especially in programs which have no oracle, or method of determining which output is correct. Metamorphic testing is a solution this problem. Metamorphic testing uses metamorphic relations to define test cases and expected outputs. A large amount of time is needed for a domain expert to determine which metamorphic relations can be used to test a given program. Metamorphic relation prediction removes this need for such an expert. We propose a method using semi-supervised machine learning to detect which metamorphic relations are applicable to a given code base. We compare this semi-supervised model with a supervised model, and show that the addition of unlabeled data improves the classification accuracy of the MR prediction model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。