发明名称 Software testing optimizer
摘要 In an approach for testing software, a computer receives a series of two or more revisions to a set of software code. The computer identifies modifications between the series of two or more revisions. The computer categorizes the series of two or more revisions into one or more categories of revisions based on the identified modifications. The computer tests at least one of the series of two or more revisions from at least one of the one or more categories of revisions.
申请公布号 US9378124(B1) 申请公布日期 2016.06.28
申请号 US201514847091 申请日期 2015.09.08
申请人 International Business Machines Corporation 发明人 dos Santos Tiago N.;Folco Rafael C. S.;Leitao Breno H.
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 代理人 McLane Christopher;Simek Daniel R.
主权项 1. A method for testing software, the method comprising: receiving, by one or more computer processors, a series of two or more revisions to a set of software code; identifying, by one or more computer processors, a first revision and a second revision within the series of two or more revisions, wherein the first revision occurs immediately prior to the second revision; identifying, by one or more computer processors, a number of modifications between the first revision and the second revision based on one or more of: a number of added lines of source code, a number of changed lines of source code, and a number of deleted lines of source code; retrieving, by one or more computer processors, one or more historical data values, wherein the one or more historical data values tracks a number of times a failure occurs with the identified modifications for the series of two or more revisions; calculating, by one or more computer processors, one or more weighted values by applying predetermined weights to the one or more retrieved historical data values and the identified modifications for the series of two or more revisions; calculating, by one or more computer processors, overall revision scores for revisions included in the series of two or more revisions based on the one or more calculated weighted values; determining, by one or more computer processors, a highest overall revision score from the calculated overall revision scores; calculating, by one or more computer processors, a threshold as a percentage of the highest overall revision score; identifying, by one or more computer processors, one or more revisions from the series of two or more revisions with corresponding determined overall revision scores equal to or greater than the calculated threshold to be critical revisions; identifying, by one or more computer processors, one or more revisions from the series of two or more revisions with corresponding determined overall revision scores less than the calculated threshold to be trivial revisions; identifying, by one or more computer processors, one or more critical revisions; determining, by one or more computer processors, a critical revision from the identified one or more critical revisions; testing, by one or more computer processors, the determined critical revision; determining, by one or more computer processors, whether the tested critical revision passed; responsive to determining the tested critical revision failed; determining, by one or more processors, whether a previous untested critical revision remains in the identified one or more critical revisions; identifying, by one or more computer processors, the previous untested critical revision respective to the tested critical revision; and testing, by one or more computer processors, the identified previous untested critical revision.
地址 Armonk NY US