主权项 |
1. A method for using previous test results to create expected test results for testing software, the method comprising:
removing, by one or more computer processors, a longest common subsequence of data from a one or more previous results to create a remaining common data; responsive to removing the longest common subsequence of data from the one or more previous actual results, classifying, by one or more computer processors, the remaining common data in the one or more previous actual results into a matched portion and an unmatched portion, wherein classifying is done by dynamic programming; applying, by one or more computer processors, the unmatched portions of the remaining common data in the one or more previous actual results to an existing class; creating, by one or more computer processors, at least one new class of data for the unmatched portions of the remaining common data in the one or more previous actual results which is not applied to an existing class; applying, by one or more computer processors, the unmatched portions of data which is not applied to an existing class to the at least one new class; and creating, by one or more computer processors, an expected result using a longest common subsequence of data of the one or more previous actual results, the matched portion of the remaining common data in the one or more previous actual results, and the classified remaining common data in the one or more previous actual results. |