GUARDING CODE CHECK-IN WITH TEST CASE EXECUTION RESULTS
First Claim
1. A computer implemented method for automating software code check-in in a code management system, the computer implemented method comprising:
- receiving a request to check-in a modified copy of a source code file to a repository, wherein the modified copy comprises changes to the source code file located in the repository;
placing the modified copy of the source code file in a quality check pending state in the repository;
responsive to an occurrence of a specific event or expiration of a set time period, executing regression test cases against the changes in the modified copy;
determining if the regression test cases are successful; and
responsive to a determination that the regression test cases are successful, committing the changes in the modified copy to the source code file located in the repository.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism for providing a source code control system that employs test case execution results to mandate that software code have a specific level of quality for check-in to a central repository. A request to check-in a modified copy of a source code file to a repository is received, wherein the modified copy comprises changes to the source code file located in the repository. The modified copy of the source code file is placed in a quality check pending state in the repository. Responsive to an occurrence of a specific event or expiration of a set time period, applicable regression test cases are executed against the changes in the modified copy. A determination is made as to whether the regression test cases are successful. If the regression test cases are successful, the changes in the modified copy are committed to the source code file located in the repository.
-
Citations
20 Claims
-
1. A computer implemented method for automating software code check-in in a code management system, the computer implemented method comprising:
-
receiving a request to check-in a modified copy of a source code file to a repository, wherein the modified copy comprises changes to the source code file located in the repository; placing the modified copy of the source code file in a quality check pending state in the repository; responsive to an occurrence of a specific event or expiration of a set time period, executing regression test cases against the changes in the modified copy; determining if the regression test cases are successful; and responsive to a determination that the regression test cases are successful, committing the changes in the modified copy to the source code file located in the repository. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for automating software code check-in in a code management system, the computer program product comprising:
-
a computer usable medium having computer usable program code tangibly embodied thereon, the computer usable program code comprising; computer usable program code for receiving a request to check-in a modified copy of a source code file to a repository, wherein the modified copy comprises changes to the source code file located in the repository; computer usable program code for placing the modified copy of the source code file in a quality check pending state in the repository; computer usable program code for executing regression test cases against the changes in the modified copy in response to an occurrence of a specific event or expiration of a set time period; computer usable program code for determining if the regression test cases are successful; and computer usable program code for committing the changes in the modified copy to the source code file located in the repository in response to a determination that the regression test cases are successful. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A data processing system for automating software code check-in in a code management system, the data processing system comprising:
-
a bus; a storage device connected to the bus, wherein the storage device contains computer usable code; at least one managed device connected to the bus; a communications unit connected to the bus; and a processing unit connected to the bus, wherein the processing unit executes the computer usable code to receive a request to check-in a modified copy of a source code file to a repository, wherein the modified copy comprises changes to the source code file located in the repository;
place the modified copy of the source code file in a quality check pending state in the repository;
execute regression test cases against the changes in the modified copy in response to an occurrence of a specific event or expiration of a set time period;
determine if the regression test cases are successful; and
commit the changes in the modified copy to the source code file located in the repository in response to a determination that the regression test cases are successful. - View Dependent Claims (18, 19, 20)
-
Specification