IDENTIFYING TEST CASES TO BE RUN AFTER CHANGES TO MODULES OF A SOFTWARE APPLICATION
First Claim
1. A method of testing an application after changes to any of a plurality of modules forming said application, said method comprising:
- receiving an indication that a set of modules have changed, wherein said set of modules is contained in said plurality of modules;
identifying a set of test cases to cover testing of said changed set of modules and a second set of modules having a reference to any of said changed set of modules, wherein said second set of modules are identified by static analysis of said plurality of modules, said second set of modules being contained in said plurality of modules; and
running said set of test cases with said changed set of modules merged into said plurality of modules.
1 Assignment
0 Petitions
Accused Products
Abstract
An aspect of the present invention facilitates identification of test cases to be run after changes to modules of a software application. In one embodiment, a reference data is generated by inspecting the instructions (static analysis) forming the modules of the software application, with the reference data specifying a corresponding set of modules in the application that are referenced by each of the modules in the application. The reference data is then examined to find a referencing set of modules which reference any of the changed modules either as immediate reference or multi-level reference through other modules. Test cases invoking any of the modules in the referencing set are identified as suitable test cases to be run.
-
Citations
28 Claims
-
1. A method of testing an application after changes to any of a plurality of modules forming said application, said method comprising:
-
receiving an indication that a set of modules have changed, wherein said set of modules is contained in said plurality of modules; identifying a set of test cases to cover testing of said changed set of modules and a second set of modules having a reference to any of said changed set of modules, wherein said second set of modules are identified by static analysis of said plurality of modules, said second set of modules being contained in said plurality of modules; and running said set of test cases with said changed set of modules merged into said plurality of modules. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system facilitating testing of an application in relation to changes to a set of modules contained in a plurality of modules forming said application, said system comprising:
-
a processor; a random access memory (RAM); and a machine readable medium to store a first set of instructions and a second set of instructions, wherein said first set of instructions when retrieved into said RAM and executed by said processor form said application, said second set of instructions when retrieved into said RAM and executed by said processor form a testing tool designed to perform the actions of; identifying a set of test cases to cover testing of said changed set of modules and a second set of modules having a reference to any of said changed set of modules, wherein said second set of modules is identified by static analysis of said plurality of modules, said second set of modules being contained in said plurality of modules; and running said set of test cases with said changed set of modules merged into said plurality of modules. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
-
23. A machine readable medium storing one or more sequences of instructions for causing a system to facilitate identifying of test cases to be run after changes to changes to any of a plurality of modules forming an application, wherein execution of said one or more sequences of instructions by one or more processors contained in said system causes said system to perform the actions of:
-
generating a reference data by inspecting the instructions forming said plurality of modules, wherein said reference data specifies for each module a corresponding set of modules contained in said plurality of modules that are referenced by said module; receiving an indication that a set of modules have changed, wherein said set of modules is contained in said plurality of modules; finding, based on said reference data, a referencing set of modules which reference any of said changed set of modules either as immediate reference or multi-level reference through other modules, said referencing set of modules being contained in said plurality of modules; and determining a set of test cases to cover testing of said changed set of modules and said referencing set of modules. - View Dependent Claims (24, 25, 26, 27, 28)
-
Specification