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.