Invention Grant
- Patent Title: Unified unit and integration test with automatic mock creation
- Patent Title (中): 统一的单元和集成测试与自动模拟创建
-
Application No.: US12882491Application Date: 2010-09-15
-
Publication No.: US08627296B1Publication Date: 2014-01-07
- Inventor: Antoine Picard
- Applicant: Antoine Picard
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Fenwick & West LLP
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Computer code for a mock object is automatically generated and used in testing computer program code. Interactions with a method of an object that is described by the computer program code are captured. From the captured interactions, mock code that creates a mock object is automatically generated. The mock object mimics the captured interactions. Subsequently, test code, which has at least some of the computer program code and mock code, is executed to enable testing of the computer program code.
Information query