摘要 |
A system, medium and method for automatically generating test data to be applied to test a target software code is disclosed. Input parameter data is received from a user via a displayed user interface, wherein the input parameter data is directed to a user selected data type, the data type being a Boolean, string, or integer. One or more preestablished stored testing algorithms is automatically selected based on the user selected data type and one or more values are applied to the selected one or more preestablished stored testing algorithms in accordance with the user selected data type. At least one set of test data from the one or more identified applicable testing algorithms is automatically generated, wherein the at least one set of test data generated from the identified testing algorithms can be used as inputs for testing the target software code. |
主权项 |
1. A method for automatically generating test data to be applied to test a target software code, the method comprising:
receiving, by a testing apparatus, input parameter data from a user via a displayed user interface, wherein the input parameter data is directed to a user selected data type, the data type being a Boolean, string, or integer; mapping a correlative index between each of one or more preestablished stored testing algorithms and one or more data types, wherein the one or more data types comprises the user selected data type, and wherein correlation between the one or more preestablished stored testing algorithms and the one or more data types is stored in a data structure; selecting, by the testing apparatus, the one or more preestablished stored testing algorithms specific for a business use case solely based on mapping the correlative index; applying, by the testing apparatus, one or more values to the selected one or more preestablished stored testing algorithms in accordance with the user selected data type and input parameter data for the user selected data type; automatically generating, by the testing apparatus in response to the applying, at least one set of test data from the selected one or more preestablished stored testing algorithms without user intervention, wherein the at least one set of test data generated from the selected preestablished stored testing algorithms can be used as inputs for testing the target software code; and generating, by the testing apparatus, a reduced set of test data from the automatically generated at least one set of test data by performing a priority based parsing technique on the automatically generated at least one set of test data based on the received input parameter data for the user selected data type. |