Software testing system that employs a graphical interface to generate test cases configured as hybrid tree structures
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
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.
76 Citations
18 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. 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.
-
-
14. 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.
-
-
15. 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. - View Dependent Claims (16, 17, 18)
-
Specification