Association between a test case and source code
First Claim
1. A computer program product comprising:
- one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising instructions to;
obtain historical data comprising one or more modification histories and one or more associated test operation histories, wherein a modification history comprises one or more modifications made in one or more source code parts, and a test operation history comprises one or more test processing parts corresponding to one or more test operations conducted on a test target after the one or more modifications;
for each of the historical data, determine whether a test operation history has one or more test processing parts which are identical or similar to test processing parts in one or more test cases;
associate the one or more test cases with one or more source code parts in one or more modification histories which have been associated with the test operation history responsive to determining that the test operation history has one or more test processing parts which are identical or similar to test processing parts in one or more test cases; and
assign a degree of reliability to each of the plurality of associations between the one or more test cases and the one or more source code parts such that a degree of reliability is lower for each of the plurality of associations for which verification parts are not present than it is for other associations of the plurality of associations for which verification parts are present.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention may be a method, a system, and/or a computer program product. An embodiment of the present invention provides a computer-implemented method for associating one or more test cases with one or more source code parts for a test target, or vice versa. The method comprises the followings: obtaining one or more historical data in which one or more modification histories made in one or more source codes are associated with one or more test operation histories made in the test target after the one or more modifications; for each of the historical data, determining whether the test operation history has one or more parts which are identical or similar with those in one or more test cases; and if the determination is positive, associating the one or more test cases with one or more source code parts in the one or more modification histories which have been associated with the test operation history, or vice versa.
18 Citations
16 Claims
-
1. A computer program product comprising:
-
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising instructions to; obtain historical data comprising one or more modification histories and one or more associated test operation histories, wherein a modification history comprises one or more modifications made in one or more source code parts, and a test operation history comprises one or more test processing parts corresponding to one or more test operations conducted on a test target after the one or more modifications; for each of the historical data, determine whether a test operation history has one or more test processing parts which are identical or similar to test processing parts in one or more test cases; associate the one or more test cases with one or more source code parts in one or more modification histories which have been associated with the test operation history responsive to determining that the test operation history has one or more test processing parts which are identical or similar to test processing parts in one or more test cases; and assign a degree of reliability to each of the plurality of associations between the one or more test cases and the one or more source code parts such that a degree of reliability is lower for each of the plurality of associations for which verification parts are not present than it is for other associations of the plurality of associations for which verification parts are present. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer system comprising:
-
one or more computer processors; one or more computer-readable storage media; program instructions stored on the computer-readable storage media for execution by at least one of the one or more processors, the program instructions comprising instructions to; obtain historical data comprising one or more modification histories and one or more associated test operation histories, wherein a modification history comprises one or more modifications made in one or more source code parts, and a test operation history comprises one or more test processing parts corresponding to one or more test operations conducted on a test target after the one or more modifications; for each of the historical data, determine whether a test operation history has one or more test processing parts which are identical or similar to test processing parts in one or more test cases; associate the one or more test cases with one or more source code parts in one or more modification histories which have been associated with the test operation history responsive to determining that the test operation history has one or more test processing parts which are identical or similar to test processing parts in one or more test cases; and assign a degree of reliability to each of the plurality of associations between the one or more test cases and the one or more source code parts such that a degree of reliability is lower for each of the plurality of associations for which verification parts are not present than it is for other associations of the plurality of associations for which verification parts are present.
-
Specification