首页> 外文会议>International Conference on Software Testing, Verification and Validation >A Fitness Function to Find Feasible Sequences of Method Callsfor Evolutionary Testing of Object-Oriented Programs(An Extended Abstract)
【24h】

A Fitness Function to Find Feasible Sequences of Method Callsfor Evolutionary Testing of Object-Oriented Programs(An Extended Abstract)

机译:适用于找到对面向对象程序的进化测试的可行性序列的健身功能(扩展摘要)

获取原文

摘要

In evolutionary testing of an object-oriented program,the search objective is to find a sequence of method callsthat can successfully produce a test object of an interestingstate. This is challenging because not all call sequences arefeasible; each call of a sequence has to meet the assumptionof the called method. The effectiveness of an evolutionarytesting thus depends in part on the quality of the so-calledfitness function that determines the degree of the fitness of acandidate solution. In this paper, we propose a new fitnessfunction based on assertions such as method preconditionsto find feasible sequences of method calls. We show throughexperiments that to obtain the best search result the fitnessfunction should consider the structures of method call se-quences, which are essentially trees of assertions. We alsoprovide a framework for combining multiple fitness valuesand for analyzing different fitness functions.
机译:在面向对象程序的进化测试中,搜索目标是找到一系列方法CallSthat可以成功生成一个令人兴趣的测试对象。这是具有挑战性的,因为并非所有呼叫序列都是不可行的;每个序列的呼叫都必须满足被叫方法的假设。因此,进化术的有效性依赖于确定丙酸酯溶液的适应度的所谓特性功能的质量。在本文中,我们基于方法预先处理方法,提出了一种新的FitnessFunction,例如方法PreconditionSto找到方法调用的可行序列。我们展示了通过实验,即获得最佳搜索结果,健身功能应考虑方法调用Se-quencess的结构,这基本上是断言的树木。我们alsoprovide一个组合多个健身值的框架,用于分析不同的健身功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号