Automatically generating observations of program behavior for code testing purposes
First Claim
Patent Images
1. A method for automatically generating observations of program behavior for code testing purposes, comprising:
- analyzing code-under-test to determine a set of test inputs;
exercising the code-under-test on the set of test inputs to produce a set of test results; and
analyzing the set of test results to automatically generate observations, wherein the observations are boolean-valued expressions containing variables and/or constants which are consistent with the set of test inputs and the set of test results.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention provides a system that automatically generates observations of program behavior for code testing purposes. During operation, the system analyzes the code-under-test to determine a set of test inputs. Next, the system exercises the code-under-test on the set of test inputs to produce a set of test results. Finally, the system analyzes the set of test results to automatically generate observations, wherein the observations are boolean-valued expressions containing variables and/or constants which are consistent with the set of test inputs and the set of test results.
30 Citations
40 Claims
-
1. A method for automatically generating observations of program behavior for code testing purposes, comprising:
-
analyzing code-under-test to determine a set of test inputs;
exercising the code-under-test on the set of test inputs to produce a set of test results; and
analyzing the set of test results to automatically generate observations, wherein the observations are boolean-valued expressions containing variables and/or constants which are consistent with the set of test inputs and the set of test results. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for automatically generating observations of program behavior for code testing purposes, the method comprising:
-
analyzing code-under-test to determine a set of test inputs;
exercising the code-under-test on the set of test inputs to produce a set of test results; and
analyzing the set of test results to automatically generate observations, wherein the observations are boolean-valued expressions containing variables and/or constants which are consistent with the set of test inputs and the set of test results. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. An apparatus that automatically generates observations of program behavior for code testing purposes, comprising:
-
a test input generation mechanism configured to analyze code-under-test to determine a set of test inputs;
an execution mechanism configured to exercise the code-under-test on the set of test inputs to produce a set of test results; and
an observation generation mechanism configured to analyze the set of test results to automatically generate observations, wherein the observations are boolean-valued expressions containing variables and/or constants which are consistent with the set of test inputs and the set of test results. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
-
40. A means for automatically generating observations of program behavior for code testing purposes, comprising:
-
a test input generation means for analyzing code-under-test to determine a set of test inputs;
an execution means for exercising the code-under-test on the set of test inputs to produce a set of test results; and
an observation generation means for analyzing the set of test results to automatically generate observations, wherein the observations are boolean-valued expressions containing variables and/or constants which are consistent with the set of test inputs and the set of test results.
-
Specification