SYSTEM AND METHOD FOR TESTING A SOFTWARE UNIT OF AN APPLICATION
First Claim
1. A computer-implemented method for testing a software unit of an application, the method comprising:
- receiving a method signature for a method of the software unit of the application;
identifying, based on the method signature and using at least one processor, a generic test specification for a generic test of the method, the generic test specification being one of a plurality of test specifications, wherein each generic test specification is associated with a plurality of methods to test and is identified by an associated method signature, wherein the generic test specification is usable to test functionality that is common across the plurality of methods, and wherein the generic test specification includes a definition for at least one reference input parameter value of the method and a definition for at least one reference output parameter value of the method;
executing the method using the at least one reference input parameter value to produce at least one test output parameter value; and
determining a test result based on a comparison between the at least one test output parameter value and the at least one reference output parameter value.
2 Assignments
0 Petitions
Accused Products
Abstract
A system, computer readable storage medium including instructions, and a computer-implemented method for testing a software unit of an application is described. A method signature for a method of the software unit of the application is received. A generic test specification for a generic test of the method is identified based on the method signature, the generic test specification being one of a plurality of test specifications, wherein the generic test specification includes a definition for at least one reference input parameter value of the method and a definition for at least one reference output parameter value of the method. The method is executed using the at least one reference input parameter value to produce at least one test output parameter value. A test result is determined based on a comparison between the at least one test output parameter value and the at least one reference output parameter value.
21 Citations
20 Claims
-
1. A computer-implemented method for testing a software unit of an application, the method comprising:
-
receiving a method signature for a method of the software unit of the application; identifying, based on the method signature and using at least one processor, a generic test specification for a generic test of the method, the generic test specification being one of a plurality of test specifications, wherein each generic test specification is associated with a plurality of methods to test and is identified by an associated method signature, wherein the generic test specification is usable to test functionality that is common across the plurality of methods, and wherein the generic test specification includes a definition for at least one reference input parameter value of the method and a definition for at least one reference output parameter value of the method; executing the method using the at least one reference input parameter value to produce at least one test output parameter value; and determining a test result based on a comparison between the at least one test output parameter value and the at least one reference output parameter value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A system to test a software unit of an application, comprising:
-
at least one processor; memory; and at least one program stored in the memory, the at least one program comprising instructions to; receive a method signature for a method of the software unit of the application; identify, based on the method signature and using at least one processor, a generic test specification for a generic test of the method, the generic test specification being one of a plurality of test specifications, wherein each generic test specification is associated with a plurality of methods to test and is identified by an associated method signature, wherein the generic test specification is usable to test functionality that is common across the plurality of methods, and wherein the generic test specification includes a definition for at least one reference input parameter value of the method and a definition for at least one reference output parameter value of the method; execute the method using the at least one reference input parameter value to produce at least one test output parameter value; and determine a test result based on a comparison between the at least one test output parameter value and the at least one reference output parameter value. - View Dependent Claims (17, 18, 19)
-
-
20. A computer readable storage medium storing at least one program configured for execution by a computer, the at least one program comprising instructions to:
-
receive a method signature for a method of the software unit of the application; identify, based on the method signature and using at least one processor, a generic test specification for a generic test of the method, the generic test specification being one of a plurality of test specifications, wherein each generic test specification is associated with a plurality of methods to test and is identified by an associated method signature, wherein the generic test specification is usable to test functionality that is common across the plurality of methods, and wherein the generic test specification includes a definition for at least one reference input parameter value of the method and a definition for at least one reference output parameter value of the method; execute the method using the at least one reference input parameter value to produce at least one test output parameter value; and determine a test result based on a comparison between the at least one test output parameter value and the at least one reference output parameter value.
-
Specification