首页> 中文期刊> 《计算机工程与设计》 >基于依赖结构的功能测试集排序方法

基于依赖结构的功能测试集排序方法

         

摘要

To solve the problem made by dependency structures prioritization (DSP)when equal weight appears between test ca-ses,a depth-first search algorithm was improved.The directed acyclic graph and the algorithm flow diagram were achieved by combining functional dependency between test cases and code coverage of test cases.Weight and code coverage were used to cal-culate the longest path as test suites based on the directed acyclic graph and the algorithm flow diagram to reduce the number of test suites and ensure the code coverage.At last,comparing DSP with other current technologies by experiments,experimental results show DSP has a great advantage in increasing the rate of fault detection.%为解决依赖结构优先级在测试用例权值相等时存在的问题,针对流行的深度优先搜索算法进行改进。通过结合测试用例之间的功能依赖和测试用例的代码覆盖率,推导出有向无环图和算法流程图;利用推导出的有向无环图和流程图,使用权值和代码覆盖率算出最长路径作为测试集,以达到缩减测试集,同时保证代码覆盖率的目的。结合实例,将依赖结构优先级和现存的技术进行对比,验证了依赖结构优先级技术在提高错误检测率方面的可行性和实用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号