Patent ID: 8745587

Claim:
A method for testing computer programs, the method comprising: identifying at least one code subsection of a computer program to be tested to yield an identified subsection; generating, via a processor, a test batch file for testing the identified subsection, the generating comprising: ascertaining one or more other code subsections required for executing a current version of the identified subsection; determining one or more input arguments required for executing the identified subsection and the other subsections to yield required arguments for the test batch file; retrieving previous input arguments available for a previous version of the identified code subsection and the other subsections; analyzing the previous input arguments with respect to the required arguments to identify which of the required arguments cannot be provided by the previous input arguments due to no corresponding one of the previous input arguments or a corresponding one of the previous input arguments being at least one of invalid for the current version of the identified subsection or invalid for the other subsections; for any of the required arguments that cannot be provided by the previous input arguments, prompting a developer to provide the one of the required arguments; and for any of the required arguments that can be provided by the previous input arguments, using the corresponding one of the previous input arguments; and executing the current version of the identified subsection using the test batch file.