Patent ID: 7363618
Filing Date: 2008-04-22
Classification: G06F

Abstract:
1. A method of testing a program having statements, said method comprising the steps of: a) dividing said program into a plurality of groups such that every statement in the program belongs to at least one of the groups, wherein each of said groups contains a respective sequence of ones of the statements such that all the statements of such a group are executed if at least one statement of said group is executed, and wherein such a group is deemed to be executed if at least one of the statements of the group is executed when the program is executed; b) determining the ones of the groups that are executed when said program is executed while testing said program; c) indicating unexecuted ones of the groups based on the ones of the groups that were determined in step b) to have been executed; d) enabling a tester to execute said unexecuted groups such that said tester can ensure that all statements in said program are executed at least once; e) including an extra statement in each of said groups, wherein execution of such an extra statement enables said determining in step b) to identify an executed one of the groups corresponding to said extra statement, wherein said program is contained in a plurality of programs which in turn are contained in a class of an object oriented environment; f) enabling said tester to define a macro containing a plurality of program lines; storing said macro in a database; and g) enabling said tester to execute said macro in the middle of testing said plurality of programs.