Actions
Task #6438
closedReusing blocks in test templates
Start date:
11/20/2015
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Published in build:
2.3.12
Description
A block is a static structure specifying a verification scenario. By default, a block is active, which means that the corresponding test engine is executed right after the creation of the block structure.
There is a need to reuse blocks. The goal is to declare a block (as a static structure) and then activate them by request.
myBlock = block(...) { atomic { ... } block { ... } } myBlock.run(N) block(...) { myBlock.add block {} }.run
Block is passive!!!
Actions