期刊文献+

Intelligent test case generation based on branch and bound 被引量:1

Intelligent test case generation based on branch and bound
原文传递
导出
摘要 Path-oriented test case generation is in essence a constraint satisfaction problem (CSP) solved by search strategies, among which backtracking algorithms are widely used. In this article, the backtracking algorithm branch and bound (BB) is introduced to generate path-oriented test cases automatically. A model based on state space search is proposed to construct the search tree dynamically. The BB is optimized from two perspectives. Variable permutation with a heuristic rule to break ties is adopted for the branching operation, and interval computation with analysis on the monotony of branching conditions is utilized for the bounding operation. Empirical experiments show that the proposed method performs well with linear complexity, and reaches 100% coverage on some benchmark programs with an advantage over some static and dynamic algorithms. Path-oriented test case generation is in essence a constraint satisfaction problem (CSP) solved by search strategies, among which backtracking algorithms are widely used. In this article, the backtracking algorithm branch and bound (BB) is introduced to generate path-oriented test cases automatically. A model based on state space search is proposed to construct the search tree dynamically. The BB is optimized from two perspectives. Variable permutation with a heuristic rule to break ties is adopted for the branching operation, and interval computation with analysis on the monotony of branching conditions is utilized for the bounding operation. Empirical experiments show that the proposed method performs well with linear complexity, and reaches 100% coverage on some benchmark programs with an advantage over some static and dynamic algorithms.
出处 《The Journal of China Universities of Posts and Telecommunications》 EI CSCD 2014年第2期91-97,103,共8页 中国邮电高校学报(英文版)
基金 supported by the Hi-Tech Research and Development Program of China(2012AA011201) the National Natural Science Foundation of China(61202080) the Major Program of the National Natural Science Foundation of China(91318301) the Open Funding of State Key Laboratory of Computer Architecture(CARCH201201)
关键词 test case generation constraint satisfaction problem branch and bound state space search test case generation, constraint satisfaction problem, branch and bound, state space search
  • 相关文献

参考文献5

二级参考文献35

共引文献74

同被引文献6

引证文献1

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部