Break
The break tag can be used to end an iterative (for, while,
etc.) execution and exit from it at any point other than the
logical end of execution. The break tag only works within the
execution tags:
Sequential Tags
Within the context of the following sequential tags the break
tag results in stopping the looping and returning to the point
of execution immediately after the parent tag of the break tag
that is one of the following:
Concurrent Tags
Within the context of the following concurrent tags you'll find
that the break will only break the execution of that one thread
that hits the break point. All other threads will continue to
execute till they hit the break or end execution through a
different condition.
NOTE
Using a break point outside of the context of the previous tags
will result in breaking execution all the way to the root of
your test. The test will still execute any try/finally clauses
but will end execution immediately after that.
Usage Examples