发明名称 System, method, and computer program to improve the productivity of unit testing
摘要 A method, system, and computer program for improving productivity of code development is provided. The method includes calculating an edge weight between nodes of a directed graph for a code project, where the nodes include a source node and a sink node, the source node corresponds to a method and the sink node corresponds to a testcase, calculating a flow value from an identified source node to the sink node, where the identified source node includes a source file of the method that has been changed and generating a list of testcases that correspond the sink node whose calculated flow value is greater than or equal to a threshold flow value.
申请公布号 US9471468(B2) 申请公布日期 2016.10.18
申请号 US201414557582 申请日期 2014.12.02
申请人 International Business Machines Corporation 发明人 Broomhall Matthew E;Chen Li Long;Kong Li;Ren Yi Nan;Wang Shao Fei
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Scully, Scott, Murphy & Presser, P.C. 代理人 Scully, Scott, Murphy & Presser, P.C. ;Goudy, Esq. Kurt P.
主权项 1. A computer-implemented computer software testing method for improving productivity of code development, the method comprising executing on a processor the steps of: calculating an edge weight between nodes of a directed graph for a code project, wherein the nodes include a source node and a sink node, the source node corresponds to a method and the sink node corresponds to a test case; calculating a flow value from an identified source node to the sink node, wherein the identified source node includes a source file of the method that has been changed; generating a list of test cases that correspond to the sink node whose calculated flow value is greater than or equal to a threshold flow value; and adjusting the threshold flow value to adjust a test coverage.
地址 Armonk NY US