Auto-recording tool for developing test harness files
First Claim
Patent Images
1. A method, comprising the steps of:
- a.) recording a number of statements from a user, wherein the statements comprise automated regression test harness commands;
b.) passing the statements to an external auto-executing tool for testing a program with the statements;
c.) executing the statement under control of the auto-executing tool so as to perform a test of the statement;
d.) capturing and displaying results of the test;
e.) filtering unwanted portions of the results of the test to create a filtered output wherein filtering unwanted portions of the results comprises removing portions of the results of the test before the filtered results are stored to a file wherein filtering unwanted portions of the results further comprises a default filter configured to filter results before the filtered output is stored to a file wherein filtering results comprises performing at least one of suppressing, altering and converting results wherein the default filter filters a first set of characters as applied to the results, and further comprising an override filter that filters a second set of characters, wherein the override filter is used to filter the results for one command, and subsequent results are filtered using the default filter;
f.) selecting, from the statements, a statement to be saved in a test harness file as an automated regression test harness command;
g.) saving the selected statement in a test harness fileh.) saving the filtered output as a benchmark file.
8 Assignments
0 Petitions
Accused Products
Abstract
A test harness development component streamlines the design of regression test harnesses for testing text-based software. An auto-recording tool to automatically record the input and output data in an actual run of the testing session and to automatically generate a test harness. The test harness development component provides an auto-executing tool to automatically run the test harness in subsequent regression tests. The test harness language is used to specify the tests, validation rules of the results, and any other rules for running the test of a test harness. The test harness language is human-readable and emulates the manual test procedures with very little overhead.
-
Citations
23 Claims
-
1. A method, comprising the steps of:
-
a.) recording a number of statements from a user, wherein the statements comprise automated regression test harness commands; b.) passing the statements to an external auto-executing tool for testing a program with the statements; c.) executing the statement under control of the auto-executing tool so as to perform a test of the statement; d.) capturing and displaying results of the test; e.) filtering unwanted portions of the results of the test to create a filtered output wherein filtering unwanted portions of the results comprises removing portions of the results of the test before the filtered results are stored to a file wherein filtering unwanted portions of the results further comprises a default filter configured to filter results before the filtered output is stored to a file wherein filtering results comprises performing at least one of suppressing, altering and converting results wherein the default filter filters a first set of characters as applied to the results, and further comprising an override filter that filters a second set of characters, wherein the override filter is used to filter the results for one command, and subsequent results are filtered using the default filter; f.) selecting, from the statements, a statement to be saved in a test harness file as an automated regression test harness command; g.) saving the selected statement in a test harness file h.) saving the filtered output as a benchmark file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An apparatus, comprising:
-
one or more processors, one or more interface components, and one or more storage devices for displaying a graphical user interface including a record panel, a playback panel, an output panel, and at least one program button; wherein the one or more interface components comprise an input device for inputting a series of commands for a test harness file, specified by a user; wherein the record panel is configured to display the series of commands; wherein the output panel is configured to display a filtered output based on an execution of the series of commands wherein the filtered output comprises output comprised of test results with unwanted portions removed from the output before the output is stored in a file; wherein the one or more interface components display indicators adjacent to each of the series of commands in the record panel which, when activated, copy the indicated command to the playback panel; wherein the one or more interface components display at least one program button comprising a “
Save”
button which, when activated, saves the commands in the playback panel to a test harness file;wherein the apparatus further comprises a default filter configured to filter output before the output is stored to a file wherein filtering the output comprises performing at least one of suppressing, altering and converting the output wherein the default filter filters a first set of characters as applied to the output; and the apparatus further comprises an override filter that filters a second set of characters, wherein the override filter is used to filter the output for one command, and subsequent command output filtered using the default filter. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
Specification