← Back to Patent Explorer
US5414836A Expired / Lapsed US ⏱️ 0.0 years remaining

Software testing system that employs a graphical interface to generate test cases configured as hybrid tree structures

Assignee: International Business Machines Corp
•
Filing: 1993-09-29
•
Granted: 1995-05-09
•
Expires: 2013-09-29
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A data processing system enables a user to generate test cases that exercise a program under test. The data processing system includes a display, a keyboard input and memory for storing a library of node types including AND, OR, Decision and Content nodes, node linking data and a graphical user interface procedure. A central processor controls the display, input keyboard and memory and in response to user inputs, creates a data base in memory that defines a hybrid tree structure that includes a plurality of node data structures. Each AND node data structure is connected by links to a plurality of child node data structures, each link to a child node data structure defining a sequence order value among all child node data structures linked to the AND node data structure. Each sequence order value defines a position in a sequence in which information is placed in the test case by traversal of the associated child node data structure. OR node data structures include an ability to set probabilities of visitation during traversal of a tree structure and Content node data structures enable definitions of a numerical set range and a probability that a randomly chosen value will be inside or outside the range. All AND, OR and Content node data structures have a looping attribute which defines how many times the node and its children will be revisited during execution of the tree structure. A Decision Node directs further traversed of the tree dependent upon the achievement of a condition statement.

Inventors

  • 👤 William J. Baer
  • 👤 Paul C. Leung

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 14:55
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3698; G06F11/3668; G06F11/3672; G06F11/3684

Claims Analysis

Total Claims: 22
Claim 1
Independent Claim 158 words
A data processing system for enabling a user to generate test cases for testing a program, said data processing system comprising: a display; input means; memory for storing a library of nodes including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; and processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each AND node data structure connected by links to a plurality of child node data structures, each link defining a sequence order value among all said child node data structures depending from said AND node data structure, each said sequence order value determining an order in which information is placed in said test case by a said child node.
Claim 2
Dependent Claim 158 words
A data processing system for enabling a user to generate test cases for testing a program, said data processing system comprising: a display; input means; memory for storing a library of nodes including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; and processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each AND node data structure connected by links to a plurality of child node data structures, each link defining a sequence order value among all said child node data structures depending from said AND node data structure, each said sequence order value determining an order in which information is placed in said test case by a said child node.
Claim 3
Dependent Claim 42 words
The data processing system as recited in claim 1 wherein said processor means assures that all said child node data structures depending from said AND node data structure are traversed in said sequence order before execution of said test case is complete.
Claim 4
Dependent Claim 51 words
The data processing system as recited in claim 1 wherein each said AND node data structure includes loop variable data that is interpreted by said processor means to control a number of times said AND node data structure and depending child nodes are traversed during an execution of said test case.
Claim 5
Dependent Claim 65 words
The data processing system as recited in claim 3 wherein said loop variable data comprises a range of loop values, said range defined by high and low loop values, and further comprises associated probability values which determine a probability that a number of loops calculated by said processor means will lie within said range, be less than said range or be greater than said range.
Claim 6
Dependent Claim 51 words
The data processing system as recited in claim 4 wherein said AND node data structure further comprises expected result data that are dependent upon a said calculated number of loops, whereby during execution, said expected result data is used to confirm operability of at least an intermediate portion of said program.
Claim 7
Dependent Claim 89 words
The data processing system as recited in claim 1 wherein a said OR node data structure is connected by plural links to a plurality of child node data structures and upon a tree traversal, is operable to place in one said test case information contained in one child node data structure, each said link including an associated probability value, said processor means randomly selecting one said link to a child node data structure from among said plural links, said selecting occurring in accordance with said link's associated probability value.
Claim 8
Dependent Claim 51 words
The data processing system as recited in claim 6 wherein each said OR node data structure includes loop variable data that is interpreted by said processor means to control a number of times said OR node data structure and depending child nodes are traversed during an execution of said test case.
Claim 9
Dependent Claim 65 words
The data processing system as recited in claim 7 wherein said loop variable data comprises a range of loop values, said range defined by high and low loop values, and further comprising associated probability values which determine a probability that a number of loops calculated by said processor means will lie within said range, be less than said range or be greater than said range.
Claim 10
Dependent Claim 51 words
The data processing system as recited in claim 8 wherein said OR node data structure further comprises expected result data that are dependent upon a said calculated number of loops, whereby during execution, said expected result data is used to confirm operability of at least an intermediate portion of said program.
Claim 11
Dependent Claim 78 words
The data processing system as recited in claim 1, wherein a said Content node data structure is operable upon a tree traversal, to place a test value in said test case, said test value derived from a defined range of values and determined based upon prescribed probability values, said probability values determining the probability that said test value, when calculated by said processor means, is within said defined range, above said defined range or below said defined range.
Claim 12
Dependent Claim 80 words
The data processing system as recited in claim 1 wherein data contained in a Decision node includes a condition statement which, upon fulfillment, directs said processor means to another node data structure in said tree structure, said data in said Decision node further enabling reference to other node data structures so as to enable logical comparisons with character strings and/or values in said other node data structures for determination of operability of at least an intermediate portion of said program.
Claim 13
Dependent Claim 45 words
The data processing system as recited in claim 10 wherein said data in said Decision node is enabled to reference a Content node data structure and to access from within said Content node data structure a value that is determined based upon a probability calculation.
Claim 14
Dependent Claim 254 words
A data processing system for enabling a user to generate test cases for exercising and testing a program under test, said data processing system comprising: a display; input means; memory for storing a library of node data structures including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each Content node data structure including data for entry into said test case, and each Decision node data structure including a condition statement which, upon fulfillment, directs said processor means to another node data structure in said tree structure, said Decision node data structure further enabling reference to other node data structures so as to provide logical comparisons with character strings and/or values in said other note data structures for determination of operability of at least an intermediate portion of a said program; and said Content node data structure operable upon a tree traversal to place a test value in said test case, said test value derived from a defined range of values and determined based upon prescribed probability values, said probability values determining the probability that said test value, when calculated by said processor means, is within said defined range, above said defined range or below said defined range.
Claim 15
Dependent Claim 254 words
A data processing system for enabling a user to generate test cases for exercising and testing a program under test, said data processing system comprising: a display; input means; memory for storing a library of node data structures including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each Content node data structure including data for entry into said test case, and each Decision node data structure including a condition statement which, upon fulfillment, directs said processor means to another node data structure in said tree structure, said Decision node data structure further enabling reference to other node data structures so as to provide logical comparisons with character strings and/or values in said other note data structures for determination of operability of at least an intermediate portion of a said program; and said Content node data structure operable upon a tree traversal to place a test value in said test case, said test value derived from a defined range of values and determined based upon prescribed probability values, said probability values determining the probability that said test value, when calculated by said processor means, is within said defined range, above said defined range or below said defined range.
Claim 16
Dependent Claim 179 words
A data processing system for enabling a user to generate test cases for exercising and testing a program under test, said data processing system comprising: a display; input means; memory for storing a library of nodes including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; and processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each said Content node data structure enabling entry of data into said test case, and operative upon a tree traversal to place a test value in said test case, said test value derived from a defined range of values and determined based upon prescribed probability values, said proabability values determining the probability that said test value, when calculated by said processor means, is within said defined range, above said defined range or below said defined range.
Claim 17
Dependent Claim 179 words
A data processing system for enabling a user to generate test cases for exercising and testing a program under test, said data processing system comprising: a display; input means; memory for storing a library of nodes including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; and processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each said Content node data structure enabling entry of data into said test case, and operative upon a tree traversal to place a test value in said test case, said test value derived from a defined range of values and determined based upon prescribed probability values, said proabability values determining the probability that said test value, when calculated by said processor means, is within said defined range, above said defined range or below said defined range.
Claim 18
Dependent Claim 180 words
A data processing system for enabling a user to generate test cases for exercising and testing a program under test, said data processing system comprising: a display; input means; memory for storing a library of nodes including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; and processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each said OR node data structure connected by plural links to a plurality of child node data structures and upon a tree traversal, is operable to place in one said test case, information contained in one child node data structure, each link including an associated probability value, said processor means randomly selecting one said link to a child node data structure from among said plural links, said selecting occurring in accordance with said link's associated probability value.
Claim 19
Dependent Claim 180 words
A data processing system for enabling a user to generate test cases for exercising and testing a program under test, said data processing system comprising: a display; input means; memory for storing a library of nodes including AND, OR, Decision and Content nodes and for further storing graphical user-interface procedures for enabling a user to display, create and change said nodes; and processor means coupled to said display, input means and memory and responsive to user inputs to create in said memory a data base defining a tree structure that includes a plurality of said nodes, each node comprising a node data structure, each said OR node data structure connected by plural links to a plurality of child node data structures and upon a tree traversal, is operable to place in one said test case, information contained in one child node data structure, each link including an associated probability value, said processor means randomly selecting one said link to a child node data structure from among said plural links, said selecting occurring in accordance with said link's associated probability value.
Claim 20
Dependent Claim 51 words
The data processing system as recited in claim 15 wherein each said OR node data structure includes loop variable data that is interpreted by said processor means to control a number of times said OR node data structure and depending child nodes are traversed during an execution of said test case.
Claim 21
Dependent Claim 65 words
The data processing system as recited in claim 16 wherein said loop variable data comprises a range of loop values, said range defined by high and low loop values, and further comprising associated probability values which determine a probability that a number of loops calculated by said processor means will lie within said range, be less than said range or be greater than said range.
Claim 22
Dependent Claim 51 words
The data processing system as recited in claim 17 wherein said OR node data structure further comprises expected result data that are dependent upon a said calculated number of loops, whereby during execution, said expected result data is used to confirm operability of at least an intermediate portion of said program.

References Cited (Backward Citations)

US4819233A Cited
US5187788A Cited
US5067129A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1998-05-08 1998-11-07 1999-05-09 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2002-05-08 2002-11-07 2003-05-09 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2006-05-08 2006-11-07 2007-05-09 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag