首页> 美国政府科技报告 >Method to Determine a Basis Set of Paths to Perform Program Testing
【24h】

Method to Determine a Basis Set of Paths to Perform Program Testing

机译:确定执行程序测试的基本路径集的方法

获取原文

摘要

A major problem in unit testing of programs is to determine which test cases touse. One technique that is in widespread use is to take the control flowgraph from each of the program functions and calculate a basis set of test paths. A basis set is a set of paths through the functions that are linearly independent and the paths in the basis set can be used to construct any path through the program flowgraph. Path construction is defined as adding or subtracting the number of times each edge is traversed. While this is not a total solution for test case generation, it does provide a good starting set of test cases. This paper gives an algorithm for taking a function's flowgraph and determining a basis set of paths. Proofs that the algorithm generates a set of paths that fulfill the above requirements are provided. A prototype tool, STest, is also discussed. Some general ideas for further improvement are also provided.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号