发明名称 METHOD AND APPARATUS FOR PROVIDING TEST CASES
摘要 A method and apparatus for providing a test case for a modified program. The method includes the steps of: obtaining a modification item that makes modification on a previous version of the program; locating the modification item after a first instrument and before a second instrument of a plurality of instruments inserted into the program; obtaining an execution path of the modified program that is between the first instrument and the second instrument and associated with the modification as well as a constraint set corresponding to the execution path; obtaining an execution result, outputted by the first instrument, of executing the previous version of the program using an original test case; and determining a test case applicable for the execution path based on the execution result and the constraint set. The apparatus corresponds to the method.
申请公布号 US2015007146(A1) 申请公布日期 2015.01.01
申请号 US201414298239 申请日期 2014.06.06
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Li Qi Cheng;Mei Li Jun;Wang Jian;Xie Fang Quan;Zhu Zi Yu
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for providing a test case for a modified program, comprising: obtaining a modification item that makes modification on a previous version of the program; locating the modification item after a first instrument and before a second instrument of a plurality of instruments inserted into the program; obtaining an execution path of the modified program that is between the first instrument and the second instrument and associated with the modification as well as a constraint set corresponding to the execution path; obtaining an execution result, outputted by the first instrument, of executing the previous version of the program using an original test case; and determining a test case applicable for the execution path based on the execution result and the constraint set.
地址 ARMONK NY US
您可能感兴趣的专利