Project

General

Profile

Actions

Task #6438

closed

Reusing blocks in test templates

Added by Alexander Kamkin about 9 years ago. Updated about 9 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!!!

Actions #1

Updated by Andrei Tatarnikov about 9 years ago

  • % Done changed from 0 to 80

Done in r5633.

Actions #2

Updated by Andrei Tatarnikov about 9 years ago

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

r5633.

Actions #3

Updated by Andrei Tatarnikov about 9 years ago

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

Also available in: Atom PDF