System and method for improved unit test creation
AssigneeParasoft Corporation
InventorsMaciej Głowa, Nathan Michael Jakubiak, Michał Rozenau, Marcin Strojny, Piotr Grzesik, Michał Kusmierczyk
Life of this patent
Estimating the term…
Loading patent…
AssigneeParasoft Corporation
InventorsMaciej Głowa, Nathan Michael Jakubiak, Michał Rozenau, Marcin Strojny, Piotr Grzesik, Michał Kusmierczyk
Estimating the term…
System and method for creating unit tests include: constructing a CFG representation for a computer program; utilizing the CFG to identify different potential execution paths and to identify different formulas corresponding to the different potential execution paths; parsing the source code to generate an abstract syntax tree; analyzing the computer program to determine whether it provides capability to set each of the associated variables in each formula by utilizing the abstract syntax tree; translating variables, fields, and expressions of the source code represented in each formula into decision variables; computing a solution to the list of pre-conditions from each formula to one of the potential solutions that specifies values for decision variables; selecting a formula, from the plurality of formulas, with a fewest number of associated variables; and creating a unit test, based on the data and the list of pre-conditions collected and solved.
A method, executed by one or more processors, for creating unit tests for testing a computer program, the method comprising:
A system for creating unit tests for testing a computer program comprising:
A tangible computer readable memory storing a plurality of computer instructions, the instructions when executed by one or more processor perform a method for creating unit tests for testing a computer program, the method comprising:
Dependencies are inferred from the claim text.