摘要
为解决基于状态节点搜索的完全路径覆盖所产生的测试用例数过多和难以实现连续测试的问题,提出了一种基于变迁的完全路径覆盖测试准则,并设计和实现了一种深度优先搜索与宽度优先搜索相结合的基于变迁完全路径覆盖测试用例自动生成算法。实验结果表明,基于变迁的完全路径覆盖准则比基于状态的完全路径覆盖准则更为严格,相应的算法可以产生更优的测试用例集,能更方便地完成软件的连续动态测试。
In order to solve the problem that the test cases generated from the complete path coverage based on the search on state node are too many and it is difficult to achieve continuous test,it is necessary to put forward a test criteria for complete path coverage based on change,design and implement an automatic generation algorithm(DWFS algorithm) of complete path coverage based on change,combining the depth first search and width first search.The experimental results show that the standards based on the change of the complete path coverage are more stringent than those based on the complete state coverage,and the corresponding DWFS algorithm can produce better test suite and can more easily accomplish software continuous dynamic test.
出处
《计算机应用》
CSCD
北大核心
2012年第11期3075-3077,3081,共4页
journal of Computer Applications
基金
吕梁学院校内自然科学基金资助项目(ZRXN201216)