首页> 外文会议>The 2nd International Conference on Software Engineering and Data Mining >A random walk based algorithm for structural test case generation
【24h】

A random walk based algorithm for structural test case generation

机译:基于随机游动的结构测试用例生成算法

获取原文

摘要

Structural testing is a significant and expensive process in software development. By converting test data generation into an optimization problem, search-based software testing is one of the key technologies of automated test case generation. Motivated by the success of random walk in solving the satisfiability problem (SAT), we proposed a random walk based algorithm (WalkTest) to solve structural test case generation problem. WalkTest provides a framework, which iteratively calls random walk operator to search the optimal solutions. In order to improve search efficiency, we sorted the test goals with the costs of solutions completely instead of traditional dependence analysis from control flow graph. Experimental results on the condition-decision coverage demonstrated that WalkTest achieves better performance than existing algorithms (random test and tabu search) in terms of running time and coverage rate.
机译:在软件开发中,结构测试是一个重要且昂贵的过程。通过将测试数据生成转换为优化问题,基于搜索的软件测试是自动生成测试用例的关键技术之一。基于随机游走在解决可满足性问题(SAT)方面的成功,我们提出了一种基于随机游走的算法(WalkTest),以解决结构化测试用例的生成问题。 WalkTest提供了一个框架,该框架可反复调用随机游走运算符以搜索最佳解决方案。为了提高搜索效率,我们完全按照解决方案的成本对测试目标进行了排序,而不是通过控制流程图来进行传统的依存关系分析。关于条件决策覆盖率的实验结果表明,WalkTest在运行时间和覆盖率方面比现有算法(随机测试和禁忌搜索)具有更好的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号