The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Oct. 03, 2017

Filed:

Aug. 03, 2015
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventor:

Timothy J. Baldwin, Southampton, GB;

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/44 (2006.01); G06F 11/36 (2006.01);
U.S. Cl.
CPC ...
G06F 11/3696 (2013.01);
Abstract

Embodiments of the invention provide for fault alerting in mock object supported unit testing. In a method for fault alerting in mock object supported unit testing an instance a mock object proxying for an object under test by test code is created in memory of a computing system and an invocation of a method in the object under test is proxied by method name to the mock object. Then, it is determined whether or not a method exists in memory for the mock object corresponding to the method name. Finally, an exception handler is invoked for the mock object outputting error text indicating a non-presence of a method associated with the method name responsive to a method by the method name not existing in the memory for the mock object, but otherwise a method is invoked that exists in the memory of the mock object corresponding to the method name.


Find Patent Forward Citations

Loading…