Modularizing a computer program for testing and debugging
First Claim
Patent Images
1. A method for generating test cases for a computer program, the method comprising:
- analyzing the computer program to identify a plurality of test units;
selecting a test unit from the plurality of test units to be tested;
applying a set of programming rules to the selected test unit; and
automatically generating one or more test cases for the selected test unit.
0 Assignments
0 Petitions
Accused Products
Abstract
A system and method for facilitating and simplifying testing and debugging of computer programs. is described A computer program is broken down to smaller components, such as, classes, functions, or objects, and then those smaller components are tested individually. Accordingly, specific aspects of the computer program can be effectively tested. The user can automatically perform a range of tests on a class or method when the class or method is compiled without integrating the class or method into a larger project.
106 Citations
24 Claims
-
1. A method for generating test cases for a computer program, the method comprising:
-
analyzing the computer program to identify a plurality of test units;
selecting a test unit from the plurality of test units to be tested;
applying a set of programming rules to the selected test unit; and
automatically generating one or more test cases for the selected test unit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method for generating test cases for a computer program having a plurality of test units, the method comprising:
-
executing the computer program;
monitoring the execution of the computer program;
storing information about one or more test units being executed; and
generating one or more test cases utilizing the stored information. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A method for generating a test case for a computer program, the method comprising:
-
analyzing the computer program to identify a plurality of test units;
selecting a test unit from the plurality of test units; and
creating a test case by incorporating the selected test unit, ignoring code unrelated to the selected test unit, and adding code to make the created test case an independently executable test case. - View Dependent Claims (22, 23, 24)
-
Specification