Language for development of test harness files
AssigneeAlcatel-Lucent USA Inc.
InventorsMan K. Kwong, Roberta C. Kwong, Lai-Cherng Suen, Chen-Wan Wang
Life of this patent
Estimating the term…
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.
Claims22
A method, comprising the steps of:
- defining and writing a series of statements comprising a test harness file for the automated regression testing of non-graphical software;
- one of the series of statements comprising requesting text string data representing a user-given name for a test in the test harness file;
- one of the series of statements comprising entering text string data representing test data of the non-graphical software;
- one of the series of statements comprising a non-interactive operating system command comprising a test of the test harness file;
- one of the series of statements comprising an interactive operating system command used as a test of the test harness file followed by a prompt pattern used by the interactive operating system command;
- one of the series of statements comprising user input within the interactive operating system command;
- one of the series of statements comprising a definition of a one-time filter statement that alters the output of only a preceding command and reverts to a default filter for filtering subsequent commands;
- and
- comparing the altered output of the preceding command to a benchmark value.
A method, comprising the steps of:
- defining and writing a series of statements comprising a test harness file for the automated regression testing of non-graphical software;
- one of the series of statements comprising requesting text string data representing a user-given name for a test in the test harness file;
- one of the series of statements comprising entering text string data representing test data of the non-graphical software;
- one of the series of statements comprising a non-interactive operating system command comprising a test of the test harness file;
- one of the series of statements comprising an interactive operating system command used as a test of the test harness file followed by a prompt pattern used by the interactive operating system command;
- one of the series of statements comprising user input within the interactive operating system command;
- one of the series of statements comprising a definition of a one-time filter statement that alters the output of only a preceding command and reverts to a default filter for filtering subsequent commands;
- and
- comparing the altered output of the preceding command to a benchmark value.
A method, comprising the steps of:
- defining and writing a series of statements comprising a test harness file for the automated regression testing of non-graphical software;
- one of the series of statements comprising requesting text string data representing a user-given name for a test in the test harness file;
- one of the series of statements comprising entering text string data representing test data of the non-graphical software;
- one of the series of statements comprising a non-interactive operating system command comprising a test of the test harness file;
- one of the series of statements comprising an interactive operating system command used as a test of the test harness file followed by a prompt pattern used by the interactive operating system command;
- one of the series of statements comprising user input within the interactive operating system command;
- one of the series of statements comprising a definition of a one-time filter statement that alters the output of only a preceding command and reverts to a default filter for filtering subsequent commands;
- and
- comparing the altered output of the preceding command to a benchmark value.
Dependencies are inferred from the claim text.