Computer system having improved regression testing
First Claim
1. A method of testing a computer program in a computer system, said computer system including a first source code version of said computer program, and a plurality of tests, said method comprising the steps of:
- inserting a first coverage point into said first source code version, said first coverage point identifying a first statement in said first source code version;
testing said first source code version of said computer program using said plurality of tests to generate a first result;
using said first result, generating a first tests subset of said plurality of tests that executed said first coverage point and tested said first statement;
modifying said first source code version of said computer program to produce a second source code version of said computer program; and
testing said second source code version of said computer program using said first tests subset.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of testing a computer program in a computer system is described. The computer system includes a source code corresponding to the computer program, and a number of tests. The method includes the following steps. A coverage point is inserted into the source code to correspond to a statement in the source code. An executable, corresponding to the source code, is executed using the tests. This generates a result. The result is used to generate a subset of tests that executed the coverage point and tested the statement. Test a second executable using the subset of tests. The second executable corresponds to the source code.
-
Citations
11 Claims
-
1. A method of testing a computer program in a computer system, said computer system including a first source code version of said computer program, and a plurality of tests, said method comprising the steps of:
inserting a first coverage point into said first source code version, said first coverage point identifying a first statement in said first source code version; testing said first source code version of said computer program using said plurality of tests to generate a first result; using said first result, generating a first tests subset of said plurality of tests that executed said first coverage point and tested said first statement; modifying said first source code version of said computer program to produce a second source code version of said computer program; and testing said second source code version of said computer program using said first tests subset. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A computer comprising:
-
a memory for storing a source code version of a computer program having a plurality of statements and a plurality of coverage points, each coverage point of said plurality of coverage points corresponding to a statement of said plurality of statements, and a plurality of tests; and a processor for executing a regression test tool, said regression test tool having a computer program input and a regression tests results output and a test coverage output, said test coverage output identifying which tests of said plurality of tests executed which coverage points of said plurality of coverage points, and a test coverage tool having a test coverage input, a coverage point selection input, and a tests subset output, said tests subset output outputting a first tests subset to said regression test tool in response to receiving a first coverage point selection.
-
Specification