首页> 外国专利> Test case generation method, test case generation program and test case generation apparatus

Test case generation method, test case generation program and test case generation apparatus

机译:测试用例生成方法,测试用例生成程序以及测试用例生成装置

摘要

PROBLEM TO BE SOLVED: To provide a test case generation method, test case generation program, and test case generation apparatus capable of obtaining a minimum combined test case which satisfies a condition coverage.SOLUTION: A control unit 130 of a test case generation apparatus 100 comprises a conversion part 131, a calculation part 132, and a generation part 133. A combination table storage part 121 of a storage unit 120 stores combination tables generated based on a test case of each module. Upon input of the test case of each module from an input part 111, the conversion part converts each test case into a combination table of a finite size and a constraint expression between the data items of the combination table such that test cases extracted for each batch of modules are combined. When the constraint expression is input from the conversion part, the calculation part calculates a solution of the constraint expression, using an SMT solver. When a generation direction is input from the calculation part, the generation part refers to the storage unit to generate a test case of a combined test, based on the calculated solution.SELECTED DRAWING: Figure 1
机译:解决的问题:提供能够获得满足条件覆盖的最小组合测试用例的测试用例生成方法,测试用例生成程序和测试用例生成设备。解决方案:测试用例生成设备100的控制单元130存储单元120包括转换部分131,计算部分132和生成部分133。存储单元120的组合表存储部分121存储基于每个模块的测试用例生成的组合表。当从输入部分111输入每个模块的测试用例时,转换部分将每个测试用例转换成有限大小的组合表和组合表的数据项之间的约束表达式,从而为每个批次提取测试用例的模块组合在一起。当从转换部分输入约束表达式时,计算部分使用SMT求解器计算约束表达式的解。当从计算部分输入生成方向时,生成部分将参考存储单元以根据计算出的解决方案生成组合测试的测试用例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号