Automated regression testing of workstation software
First Claim
Patent Images
1. In a workstation used to develop application programs, the system comprising:
- a program editor for enabling a user to create an application program;
a source code library for storing the application program;
a source directory tree for storing names of files which store the source code that collectively form the application program;
a test tree directory which stores the names of test files that correspond to the source code files named in the source directory tree;
a regression test script library for storing test scripts corresponding to the test files named in the test tree directory;
a regression testing program responsive to test scripts selected using the test directory tree to perform regression testing on executable code produced from source code selected using the source directory tree; and
means for automatically checking file names in the source directory tree and test file names in the test directory tree to determine if there is a test file named in the test directory tree corresponding to each file named in the source directory tree.
3 Assignments
0 Petitions
Accused Products
Abstract
A workstation includes a regression testing program which tests application programs developed on the workstation using stored test scripts. A test directory tree is maintained to mirror a source code directory tree, and the test directory tree is employed to select the test scripts to be used in testing any newly compiled application programs.
144 Citations
13 Claims
-
1. In a workstation used to develop application programs, the system comprising:
-
a program editor for enabling a user to create an application program;
a source code library for storing the application program;
a source directory tree for storing names of files which store the source code that collectively form the application program;
a test tree directory which stores the names of test files that correspond to the source code files named in the source directory tree;
a regression test script library for storing test scripts corresponding to the test files named in the test tree directory;
a regression testing program responsive to test scripts selected using the test directory tree to perform regression testing on executable code produced from source code selected using the source directory tree; and
means for automatically checking file names in the source directory tree and test file names in the test directory tree to determine if there is a test file named in the test directory tree corresponding to each file named in the source directory tree.
-
-
2. In a workstation used to develop application programs, the system comprising:
-
a program editor for enabling a user to create an application program;
a source code library for storing the application program;
a source directory tree for storing names of files which store the source code that collectively form the application program;
a test tree directory which stores the names of test files that correspond to the source code files named in the source directory tree;
a regression test script library for storing test scripts corresponding to the test files named in the test tree directory;
a regression testing program responsive to test scripts selected using the test directory tree to perform regression testing on executable code produced from source code selected using the source directory tree;
means for creating a new regression test script for storage in the regression test script library for each file in the source directory tree which does not have a corresponding test file named in the test directory tree; and
means for creating a new test file name in the test tree directory which corresponds to the new regression test script. - View Dependent Claims (3, 4)
-
-
5. In a workstation used to develop application programs, the system comprising:
-
a program editor for enabling a user to create an application program;
a source code library for storing the application program;
a source directory tree for storing names of files which store the source code that collectively form the application program;
a test tree directory which stores the names of test files that correspond to the source code files named in the source directory tree;
a regression test script library for storing test scripts corresponding to the test files named in the test tree directory;
a regression testing program responsive to test scripts selected using the test directory tree to perform regression testing on executable code produced from source code selected using the source directory tree; and
means for checking test file names in the test directory tree to identify orphan test files which do not have corresponding file names in the source directory tree. - View Dependent Claims (6, 7, 8)
-
-
9. A method for producing and testing programs on a programmable system, the steps comprising:
-
a) creating source code programs using an editor;
b)storing the source code programs in a source code library;
c) storing source code file names in a source directory tree which correspond with source code programs in the source code library;
d) producing a test tree directory which mirrors the source directory tree and includes test file names which correspond with the source code file names;
e) producing a regression test script library for storing test scripts corresponding to the test file names in the test tree directory;
f) testing a program produced from source code programs corresponding to selected source code file names in the source code directory tree using test scripts from the test script library corresponding to the test files that have test file names corresponding with the selected source code file names;
g) searching for orphan test file names in the test tree directory which do not have corresponding source code file names in the source directory tree; and
h) visually indicating the presence of an orphan test file. - View Dependent Claims (10, 11)
inputting directions from a user indicating that the orphan test file is to either be deleted or changed in name.
-
-
11. The method of claim 9, further comprising automatically updating the test tree directory whenever a change to the source directory tree is made.
-
12. A method for producing and testing programs on a programmable system, the steps comprising:
-
a) creating source code programs using an editor;
b) storing the source code programs in a source code library;
c) storing source code file names in a source directory tree which correspond with source code programs in the source code library;
d) producing a test tree directory which mirrors the source directory tree and includes test file names which correspond with the source code file names;
e) producing a regression test script library for storing test scripts corresponding to the test file names in the test tree directory; and
f) testing a program produced from source code programs corresponding to selected source code file names in the source code directory tree using test scripts from the test script library corresponding to the test files that have test file names corresponding with the selected source code file names; and
g) updating the test tree directory, wherein the updating of the test tree directory includes (i) creating a new regression test script for storage in the regression test script library for each file in the source directory tree which does not have a corresponding test file named in the test directory tree, and (ii) creating a new test file name in the test tree directory which corresponds to the new regression test script. - View Dependent Claims (13)
-
Specification