Automatic mock enablement in a multi-module software system
AssigneeLendingClub Corporation
InventorsEddie Gonzales, Somesh Benchalli, Phani Pradeep Benarji Kommana, Ali Nazari
Life of this patent
Estimating the term…
Loading patent…
AssigneeLendingClub Corporation
InventorsEddie Gonzales, Somesh Benchalli, Phani Pradeep Benarji Kommana, Ali Nazari
Estimating the term…
Embodiments allow a mock-enabled software module to access a store of mock output data. Sets of mock output values (“SMOVs”), stored within the mock output store, are mapped to one or more key input values. When input sent to a mock-enabled software module includes one or more key input values that map to a given SMOV, the SMOV is included in a mock response from a target module of the given SMOV. When a set of input values, sent to a mock-enabled software module, does not include key input values that map to a SMOV, the mock-enabled module produces output without triggering any mock response. The mock output store may contain one or more replacement templates that are used to replace one or more mock output values, in a mock response, with one or more corresponding input values from the set of input values received by the triggering module.
A method for providing mock output values, to a consumer software module of a multi-module system, as if the mock output values were produced by a mock-enabled software module of the multi-module system, comprising:
One or more non-transitory computer-readable media storing instructions which, when executed by one or more processors, cause providing mock output values, to a consumer software module of a multi-module system, as if the mock output values were produced by a mock-enabled software module of the multi-module system, comprising:
Dependencies are inferred from the claim text.