Method and apparatus for API testing
First Claim
1. A method for automatically developing software tests for a software program having source code written in an object-oriented programming language comprising:
- determining at least one class present within the source code;
identifying a method associated with the class, the method having at least one characteristic, wherein the at least one characteristic comprises at least one selected from the group consisting of a method category, and a number of arguments;
matching a test template to the method based on at least one of the method category and the number of arguments, resulting in a matched template; and
generating a test based on the matched template and the method.
1 Assignment
0 Petitions
Accused Products
Abstract
In general, in one aspect of the invention, the invention relates to a method and system for automatically developing software tests for a software program having source code written in an object-oriented programming language. Computer implemented instructions are stored collectively within the at least one storage device which when executed, perform a method. The method includes determining at least one class present within the source code and identifying a method associated with the class, the method having at least one characteristic. The at least one characteristic includes at least one selected from the group consisting of a category and a number of arguments. The method further includes matching a test template to the method based on the method category and the number of arguments, resulting in a matched template, and generating a test based on the matched template and the method.
31 Citations
20 Claims
-
1. A method for automatically developing software tests for a software program having source code written in an object-oriented programming language comprising:
-
determining at least one class present within the source code;
identifying a method associated with the class, the method having at least one characteristic, wherein the at least one characteristic comprises at least one selected from the group consisting of a method category, and a number of arguments;
matching a test template to the method based on at least one of the method category and the number of arguments, resulting in a matched template; and
generating a test based on the matched template and the method. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for automatically developing software tests for a software program having source code written in an object-oriented programming language comprising:
-
a processor; and
at least one storage device, wherein computer implemented instructions are stored collectively within the at least one storage device which when executed, perform a method comprising;
determining at least one class present within the source code;
determining a method associated with the class, the method having at least one characteristic, wherein the at least one characteristic comprises at least one selected from the group consisting of a method category, and a number of arguments;
matching a test template to the method based on at least one of the method category and the number of arguments, resulting in a matched template; and
generating a test based on the matched template and the method. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer readable medium having processor executable instructions stored thereon for executing a method comprising:
-
determining at least one class present within the source code;
identifying a method associated with the class, the method having at least one characteristic, wherein the at least one characteristic comprises at least one selected from the group consisting of a method category, and a number of arguments;
matching a test template to the method based on at least one of the method category and the number of arguments, resulting in a matched template; and
generating a test based on the matched template and the method. - View Dependent Claims (18, 19, 20)
-
Specification