Method for testing a computer program
AssigneeSynopsys, Inc.
InventorsJoerg Grosse, Mark Hampton
Life of this patent
Estimating the term…
Loading patent…
AssigneeSynopsys, Inc.
InventorsJoerg Grosse, Mark Hampton
Estimating the term…
The invention relates to a method for testing a computer program after changing a first version of the computer program into a second version of the computer program due to a revision of the computer program. The method comprises the steps of (a) determining the mutations that can be inserted into the first version of the computer program, and the mutations that can be inserted into the second version of the computer program; and (b) comparing the first version of the computer program with the second version of the computer program to determine changed and unchanged mutations in the second version against the first version, wherein (b1) the mutations that can be inserted only in the first version of the computer program or only in the second version of the computer program are classified as changed mutations; and (b2) the mutations that can be inserted in the first and the second version are classified as unchanged mutations.
Method for testing a computer program after changing a first version of the computer program into a second version of the computer program due to a revision of the computer program, comprising
Method according to any one of the preceding claims, further comprising
Method according to any one of the preceding claims, characterized in that in step (b) mutations classified as changed mutations that can be inserted into the second version but not into the first version are classified as new mutations.
Method according to any one of the preceding claims, characterized in that in step (b) mutations classified as changed mutations that can be inserted into the first version but not into the second version are classified as removed mutations.
Method according to any one of the preceding claims, characterized in that for testing the second version of the computer program a mutation analysis of the new mutations is conducted.
Method according to any one of the preceding claims, characterized in that for testing the second version of the computer program tests are performed that upon a mutation analysis of the first version of the computer program detected mutations classified as removed mutations.
Method according to any one of the preceding claims, characterized in that the mutations are classified as new mutations that either
Method according to any one of the preceding claims, characterized in that mutations are classified as removed mutations that either
Method according to any one of the preceding claims, characterized in that all mutations that can be inserted into lines, statements and/or expressions of the source code of the second version and have not been classified as new mutations or as removed mutations are classified as unchanged mutations.
Method according to any one of the preceding claims, characterized in that the second version of the computer program is assessed as “not deteriorated” against the first Version if tests are passed that upon a mutation analysis of the first version of the computer program detected mutations classified as removed mutations.
Method according to any one of the preceding claims, characterized in that source code containing not detected new mutants classified upon the mutation analysis of the mutations as new mutations, is characterized as not sufficiently tested.
Method according to any one of the preceding claims, characterized in that the source code describes an integrated circuit.
Method according to any one of the preceding claims, characterized in that it is carried out using a Field Programmable Gate Array (FPGA).
Dependencies are inferred from the claim text.