发明名称 |
Techniques for automatically generating testcases |
摘要 |
A technique for generating testcases includes receiving a new product specification for an application. A noun-verb pairing is performed on the new product specification. An attempt is made to locate a similar noun-verb pairing in a previous product specification for the application that corresponds to the new noun-verb pairing. In response to locating the similar noun-verb pairing in the previous product specification, a new testcase is generated by modifying an existing testcase that is associated with the similar noun-verb pairing in the previous product specification. In response to not locating the similar noun-verb pairing in the previous product specification, the fact that the new testcase was not generated is indicated. |
申请公布号 |
US9471471(B2) |
申请公布日期 |
2016.10.18 |
申请号 |
US201414573441 |
申请日期 |
2014.12.17 |
申请人 |
International Business Machines Corporation |
发明人 |
Champlin-Scharff George H.;Reedy Derek M.;Snow Timothy B. |
分类号 |
G06F9/44;G06F11/36;G06F17/28 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
Long Michael R.;Gerhardt Diana R. |
主权项 |
1. A computer program product for generating testcases, the computer program product comprising:
a computer-readable storage medium; computer-readable program code embodied on the computer-readable storage medium, wherein the computer-readable program code, when executed by a data processing system, cause the data processing system to: receive a new product specification for an application; perform a new noun-verb pairing on the new product specification; attempt to locate a similar noun-verb pairing, corresponding to the new noun-verb pairing, in a previous product specification for the application; in response to locating the similar noun-verb pairing in the previous product specification, generate a new testcase by modifying a previous testcase that is associated with the similar noun-verb pairing in the previous product specification; in response to not locating the similar noun-verb pairing in the previous product specification, indicate that the new testcase was not generated; load the previous product specification and the previous testcase into the data processing system; perform natural language processing on the previous product specification to identify the similar noun-verb pairing in the previous product specification; match the similar noun-verb pairing with the previous testcase; and train a classifier using the similar noun-verb pairing and the previous testcase. |
地址 |
Armonk NY US |