Automatic Unit Test Generation Based On Execution Traces
AssigneeOracle International Corporation
InventorsMartijn T. Dwars, Patrick Eigensatz, Adam Zurada, Hugo Guiroux
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsMartijn T. Dwars, Patrick Eigensatz, Adam Zurada, Hugo Guiroux
Estimating the term…
Techniques for automatically generating unit tests based on execution traces are disclosed. Trace data is traversed to identify a previously executed and traced target method, e.g., an initial version of the target method, and corresponding first set of input values and first return value used to invoke the initial version of the target method. Using the trace data, generating a test code for testing an updated version of the target method. Executing the test code includes invoking the updated version of the target method using the first set of inputs as arguments. In response to invoking the updated version of the target method, receiving a second return value. The second return value is compared to the first return value to determine whether the second return value matches the first return value. The results are then presented or stored.
A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising:
A method comprising:
A system comprising:
Dependencies are inferred from the claim text.