发明名称 Creating expected test results using previous test results
摘要 One or more previous actual results are retrieved from a software test. The longest common subsequence of data of the one or more previous actual results is determined. The longest common subsequence of data is removed to create remaining common data. The remaining common data is classified resulting in a matched portion of data and an unmatched portion of data. Classification is done by dynamic programming. Matched portions of data are identical. Unmatched portions of data are different. If an existing class exists, unmatched portions of the remaining common data are applied to the existing class. A new class of data is created. The unmatched portions of the remaining common data not applied to an existing class is applied to the new class. An expected test result is created using the longest common subsequence of data, the matched portions of the common data, and the classified common data.
申请公布号 US9632918(B1) 申请公布日期 2017.04.25
申请号 US201615202611 申请日期 2016.07.06
申请人 International Business Machines Corporation 发明人 Hisagi Sakura B.;Nishitani Yusuke;Tahara Yoshinori
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 代理人 Jochym Alexander G.
主权项 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.
地址 Armonk NY US