Access driven filtering
First Claim
1. A computerized method for generating inputs for testing computer programs, the method comprising:
- receiving test domain information;
generating a test input according to received test domain information;
invoking a predicate on the test input; and
summing costs assigned to data elements of the test input.
2 Assignments
0 Petitions
Accused Products
Abstract
A test domain configuration module generates graphical user interfaces for identifying information about desired tests such as data types and domain configurations, and collects information used by other modules to generate tests. The identified information may include, for example, an abstract syntax, a static semantic, max counts on instances of data types, or costs of field accesses or data types for max path costs or max expression costs. A test input generator, generates test input for the identified and configured data types. In one case, the generated test inputs are generated as tree data structures. A predicate determines whether a generated test input follows semantic conditions. A test input evaluator counts instances of data types in, sums paths through, or sums total costs of, the generated test inputs. A test acceptance module saves test inputs acceptable to the predicate and the test input evaluator.
-
Citations
28 Claims
-
1. A computerized method for generating inputs for testing computer programs, the method comprising:
-
receiving test domain information;
generating a test input according to received test domain information;
invoking a predicate on the test input; and
summing costs assigned to data elements of the test input. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer system comprising:
-
a computer memory having stored therein, a module for obtaining test configuration information, a module for generating test input based on obtained test configuration information, a module for traversing a generated test input with a predicate, a module for summing costs assigned to data elements of the generated test input, and a central processing unit for executing instructions of the modules. - View Dependent Claims (20, 21, 22, 23, 28)
-
-
24. A computer readable medium comprising executable instructions for performing a method comprising:
-
generating a tree of data elements;
invoking a predicate on the tree;
recording data elements accessed as the invoked predicate traverses the tree; and
summing costs of data elements accesses. - View Dependent Claims (25, 26, 27)
-
Specification