首页> 中文期刊> 《传感技术学报》 >基于动态依赖的类间测试顺序研究

基于动态依赖的类间测试顺序研究

         

摘要

The cost of the class-integration-test depends largely on the testing sequence. Therefore,an approach based on dynamic dependency relation for class-integration-test order is proposed in order to obtain a suitable test sequence. Firstly,the class dependencies among those object relational graphs are analysed. Secondly,the loop is removed by applying the edge deletion rules. Lastly,the test order is achieved based on the topological sequence of a directed acycline graph. The simulation results show that 42% test stubs were reduced by applying the proposed method comparing to the Briand`s method. It comes to a conclusion that this method meets the requirement of reducing the test stubs to the minimum. In addition,it improves test efficiency as well as reduces the test cost.%类间集成测试顺序决定着测试成本的大小,为了得到合适的测试顺序,提出了一种基于动态依赖的类间测试顺序的方法。首先分析对象关系图中类间依赖关系,然后运用边删除规则去除环路,最后运用有向无环图的拓扑序列给出类的测试顺序。仿真结果表明,本文的方法较Briand的方法减少了42%的测试桩。此方法满足最小化测试桩的需要,提高了测试效率,减少了测试成本。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号