首页> 外文会议>Practical applications of intelligent systems >Regression Testing Based on Neural Networks and Program Slicing Techniques
【24h】

Regression Testing Based on Neural Networks and Program Slicing Techniques

机译:基于神经网络和程序切片技术的回归测试

获取原文
获取原文并翻译 | 示例

摘要

Regression testing is for retesting modified software to ensure that changes are correct and do not adversely affect other parts of the software. It is usually One extremely hard for engineers to figure out how a change in software will echo in other parts of the software. We propose a framework that combines machine learning and program slicing for test cases prioritization to solve the problem. We developed a library, called Intelligent Test Oracle Library (InTOL), for the instrumentation of a system under test (SUT) to generate test traces. The program slices serve to indicate the relevance of test cases to regression testing of software modifications. Then we relate the slicing information with the test traces. We use Artificial Neural Network (ANN) as our underlying technology for machine learning. In the training phase, we first use ANN to learn the count of times that a program segment will be visited in the execution of a test case. We then use the count estimation for the program segments as a part of our feature vector for a test input and feed the vector to another ANN for test prioritization of the test input. We experiment with two benchmark programs of Software-artifact Infrastructure Repository. Our experiment data shows a good fault-detection ability.
机译:回归测试用于重新测试修改后的软件,以确保更改正确无误,并且不会对软件的其他部分产生不利影响。工程师通常很难弄清楚软件的更改将如何在软件的其他部分产生回响。我们提出了一个框架,该框架结合了机器学习和程序切片的功能,可以对测试用例进行优先级排序以解决问题。我们开发了一个库,称为智能测试Oracle库(InTOL),用于检测被测系统(SUT)以生成测试跟踪。程序片段用于指示测试用例与软件修改的回归测试的相关性。然后,我们将切片信息与测试轨迹相关联。我们使用人工神经网络(ANN)作为我们用于机器学习的基础技术。在训练阶段,我们首先使用ANN来了解执行测试用例时访问程序段的次数。然后,我们将程序段的计数估计作为测试输入的特征向量的一部分,并将该向量馈送到另一个ANN,以对测试输入进行测试优先级排序。我们使用软件工件基础结构存储库的两个基准程序进行实验。我们的实验数据显示出良好的故障检测能力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号