Project

General

Profile

Task #6438

Reusing blocks in test templates

Added by Alexander Kamkin about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
Template Processor
Target version:
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!!!

History

#1

Updated by Andrei Tatarnikov about 4 years ago

  • % Done changed from 0 to 80

Done in r5633.

#2

Updated by Andrei Tatarnikov about 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 80 to 100

r5633.

#3

Updated by Andrei Tatarnikov about 4 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 2.3.12

Also available in: Atom PDF