摘要
测试用例的设计是软件测试中一个具有关键作用的工作,如何用较少的测试用例达到比较高的覆盖度,是需要解决的主要技术问题。本文结合现代软件测试技术中的数据驱动测试和结构驱动测试设计技术,根据PAR平台转换工具的实际测试情况,设计了一种基于路径的测试用例自动生成算法,并在PAR平台的转换工具中应用实施,科学合理的测试用例设计为PAR平台转换工具测试的进行提供基础,测试达到了预期目的。
In software testing, the design of test case is one of the key steps, how to use fewer test cases to achieve higher coverage, is the major technical problems. In this paper, the method of test case design in software testing is reviewed firstly. Secondly, accord- ing to the technique in modern software engineering data drive testing and structure drive testing, and the necessaries in the business, an algorithm of test case generation based on the path is point out. The scientific and reasonable design of testing case providers the based necessaries and the testing attained the anticipative aim.
出处
《微计算机信息》
2009年第33期204-205,122,共3页
Control & Automation
基金
基金申请人:薛锦云
项目名称:基于PAR方法和PAR平台的泛型程序设计关键技术研究
基金颁发部门:国家自然科学基金委(60573080)