Online creation of object states for testing
AssigneeMicrosoft Corporation
InventorsCarlos Pacheco, Shuvendu Lahiri, Thomas Ball
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsCarlos Pacheco, Shuvendu Lahiri, Thomas Ball
Estimating the term…
An application is tested by using the public interface to determine the possible class types, choosing a class type at random, and then finding a constructor which creates an object of that class type. A method that takes the object is selected, and input values for the method are selected. The object is then created using the constructor and any other required methods. The selected method is called on the object using the selected inputs. If calling the method with the object changes the state of the object or an associated object, then the object and method are extended, sometimes by adding another method call to the existing method call(s), creating a new plan, and the new plan is then tested. If the state is not changed, then the object and the method are not further tested.
A computer-implemented method of testing an object-oriented program comprising:
The method of claim 5 wherein an object associated with the method comprises at least one of a receiver of the method, a parameter of the method, or an object returned from the method.
An automated computer system for constructing test inputs used to test an object-oriented program comprising:
A system for testing an object-oriented application comprising:
Dependencies are inferred from the claim text.