×

System and method for testing a software unit of an application

  • US 8,813,034 B2
  • Filed: 12/30/2010
  • Issued: 08/19/2014
  • Est. Priority Date: 12/30/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a first method signature for a first method of a software unit of an application, the first method signature comprising a plurality of parameters including at least one input parameter and at least one output parameter;

    identifying, based only on the at least one input parameter and the at least one output parameter of the first method signature without using a method name of the first method and using at least one processor, a generic test specification for a generic test of the first method, the generic test specification being one of a plurality of test specifications, wherein each generic test specification is identified by an associated method signature, and wherein the generic test specification includes a definition for at least one reference input parameter value of the first method corresponding to the at least one input parameter and a definition for at least one reference output parameter value of the first method corresponding to the at least one output parameter;

    executing the first 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 all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×