Testing flow control at test assertion level
First Claim
Patent Images
1. A method comprising:
- providing a test hierarchy, the test hierarchy including a collection of test methods, each test method calling test assertion methods for checking correctness of production code, each test assertion call defining a test execution flow within the test hierarchy in an event of a failure; and
controlling the test execution flow inside the test hierarchy according to a parameter of the test assertion method call in the event of the failure.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for test flow control include providing a test hierarchy, the test hierarchy includes a collection of test methods, each test method calling test assertion methods for checking the correctness of production code, and each test assertion call defines the test execution flow within the test hierarchy in an event of a failure. The flow inside the test hierarchy is controlled according to a parameter of the test assertion method call, in response to the event.
41 Citations
18 Claims
-
1. A method comprising:
-
providing a test hierarchy, the test hierarchy including a collection of test methods, each test method calling test assertion methods for checking correctness of production code, each test assertion call defining a test execution flow within the test hierarchy in an event of a failure; and
controlling the test execution flow inside the test hierarchy according to a parameter of the test assertion method call in the event of the failure. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product, tangibly embodied in an information carrier, the computer program product comprising instructions operable to:
-
provide a test hierarchy, the test hierarchy including a collection of test methods, each test method calling test assertion methods for checking the correctness of production code, each test assertion call defining a test execution flow inside the test hierarchy in an event of failure detection; and
control the test execution flow within the test hierarchy according to a parameter of the test assertion method call in response to detecting the event. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system comprising:
-
a test hierarchy, the test hierarchy including a collection of test methods, each test method calling test assertion methods for checking the correctness of production code, each test assertion call defining the test execution flow within the test hierarchy in an event of a failure; and
a means for controlling a flow inside the test hierarchy according to a parameter of the test assertion method call in response to the event. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification