Patent US5778169A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5778169A Expired / Lapsed US ⏱️ 0.0 years remaining

Computer system having improved regression testing

Assignee: Synopsys Inc
•
Filing: 1995-08-07
•
Granted: 1998-07-07
•
Expires: 2015-08-07
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

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.

Inventors

  • 👤 Tilman Reinhardt

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-04 12:32
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3668; G06F11/3696; G06F11/3672; G06F11/3676

Claims Analysis

Total Claims: 13
Claim 1
Independent Claim 142 words
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.
Claim 2
Independent Claim 142 words
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.
Claim 3
Dependent Claim 36 words
The method of claim 1 wherein said inserting said first coverage point includes: editing said first source code version to insert said first coverage point, where said first coverage point includes a coverage point identifying statement.
Claim 4
Dependent Claim 47 words
The method of claim 1 wherein said first source code version includes a plurality of hardware description language statements and wherein said inserting said first coverage point into said first source code version includes: inserting said first coverage point into said plurality of hardware description language statements.
Claim 5
Dependent Claim 67 words
The method of claim 1 said computer system includes a first computer and a second computer, said first computer being different than said second computer, and wherein said method further comprises: said first computer compiling said first source code version into a first executable; and wherein said testing said first source code version of said computer program is performed by said second computer executing said first executable.
Claim 6
Dependent Claim 66 words
The method of claim 1 said computer system includes a first computer and a second computer, said first computer being different than said second computer, and wherein said method further comprises: said first computer compiling said first source code into a first executable; and wherein said testing said first source code version of said computer program is performed by said second computer executing said first executable.
Claim 7
Dependent Claim 49 words
The method of claim 1 wherein said first coverage point includes an output statement and wherein said testing said first source code version of said computer program includes: executing said output statement a first time resulting in a first coverage point indicator to be output to said first result.
Claim 8
Dependent Claim 40 words
The method of claim 6 wherein said executing said first source code version of said computer program includes: executing said output statement a second time and not resulting in a second coverage point indicator being output to said first result.
Claim 9
Dependent Claim 30 words
The method of claim 1 wherein said first statement is a function and wherein said inserting said first coverage point includes: inserting said first coverage point inside of said function.
Claim 10
Dependent Claim 31 words
The method of claim 1 wherein said first statement is a loop and wherein said inserting said first coverage point includes: inserting said first coverage point in front of said loop.
Claim 11
Dependent Claim 67 words
The method of claim 1 wherein said using said first result, generating said first tests subset of said plurality of tests that executed said first coverage point and tested said first statement includes: accessing said first result to generate a plurality of tests names, each test name of said plurality of tests names corresponding to a test of said plurality of tests that exercised said first statement.
Claim 12
Dependent Claim 143 words
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.
Claim 13
Dependent Claim 143 words
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.

References Cited (Backward Citations)

US4636940A Cited
US5103394A Cited
US4853851A Cited
US5261100A Cited
US5182806A Cited
US5121501A Cited
US5050168A Cited
US5193180A Cited
US5335344A Cited
US5265254A Cited
US5450586A Cited
US5454086A Cited
US5412679A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2001-07-06 2002-01-05 2002-07-07 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2005-07-06 2006-01-05 2006-07-07 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2009-07-06 2010-01-05 2010-07-07 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag