Patent Document ID: 20120330598
Application ID: 13602720
Patent Flag: 0

Claim One:
1. A computer-executed program product for generating test cases for a system having a plurality of parameters and one or more variable values assigned to each of the plurality of parameters, in accordance with combinations of the parameters and the variable values assigned to the parameters, the computer-executed program product causing the computer to execute the steps of: holding a set of test cases including input test cases in storage means in a computer readable manner; executing a loop until the combinations of the parameters and the variable values are completed for all of the plurality of parameters, wherein the loop comprises: (i) generating the combinations of the parameters and the variable values so that the number of parameters storing variable values gradually increases, (ii) finding a test case that contains combinations of parameters and variable values partially matching the generated combinations of the parameters and the variables in the set of test cases including the input test cases, and storing the found test case in a set variable, and (iii) adding, in response to the set variable becoming an empty set, the test case that has been stored in the set variable in the last loop to a set of candidates; adding, in response to the combinations of the parameters and the variable values being completed for all of the plurality of parameters, a test case generated on the basis of the completed combinations of the parameters and the variables to the set of candidates; selecting, once the test cases for a plurality of different combinations of the parameters and the variable values are accumulated in the set of candidates, a test case from the set of candidates in accordance with the magnitude of a score related to a value including the number of cases that have not appeared, the score of the test case belonging to the set of test cases including the input test cases being calculated by increasing the score; and outputting the selected test case from the set of candidates.