Patent ID: 9734045
Date: 2017-08-15
CPC Classifications: G06F

Claim:
1. A method comprising: monitoring a manual test of a code portion, wherein monitoring the manual test comprises identifying one or more performed operations performed during the manual test; detecting a call to a dependency code portion by the code portion during the manual test within the one or more performed operations; generating a seed file that includes data describing the one or more performed operations including a manual test output from the code portion, data describing the call to the dependency code portion including a dependency code input and a dependency code output that are detected during the manual test, and data that indicates the manual test is successful based at least in part on the manual test output matching an expected output; determining to generate a mock test based at least in part on the seed file including the data that indicates the manual test is successful; generating, using the seed file, the mock test for the code portion, the mock test including one or more mock operations that match the one or more performed operations, wherein the mock test provides the dependency code output to the code portion in response to the dependency code input without executing the dependency code portion; and performing the mock test on the code portion, including performing the one or more mock operations using the code portion without executing the dependency code portion.