ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0000419 | Part 01: TTCN-3 Core Language | New Feature | public | 24-11-2006 14:39 | 18-07-2008 10:37

Reporter | Stephan Schulz |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | feature | Reproducibility | N/A
Status | closed | Resolution | won't fix |
Platform |  | OS |  | OS Version |
Product Version | v3.1.1 (published 2005-06) |
Target Version | v4.1.1 (published 2009-06) | Fixed in Version |  |
Clause Reference(s) | -
Source (company - Author) | dr. György Réthy, Ericsson

Summary | 0000419: Identifying PTC host in create statements

Description

Currently the TTCN-3 language is distinct from the execution environment. While this is acceptable in most cases, in some cases the test suite writer may want to put some limitations on the test configuration. For example, in embedded test configurations it is inevitable to create the upper tester PTCs on the tested system itself.
It is suggested to allow the optional specification of a host ID at which the PTC has to be created as a second parameter of create operations. This second parameter shall be of charstring type and can be simply omitted if no host ID is being specified. If host ID should be present but no name is assigned to the PTC, the first parameter (PTC name) shall be skipped in the argument list by a dash.
Please note the following:
- the interpretation of the host ID string still remains a tool option
- the reasonable user will use sound strings as host ID as module parameter, specific IP address (like 127.0.0.0) or e.g. return value of a function returning the name of a given host. No reason to believe that users will spoil test suite transport-ability by using hard-coded host names (or in this case they can spoil it by hard-coding many other values today).
Example:
testcase MyTC () runs on MyMTCType system MySytemType {
var MyPTCType vl_PTC [6];
...
vl_PTC[0] := MyPTCType.create ("MyPTCwName");
vl_PTC[1] := MyPTCType.create ("MyPTCwName2",-);
vl_PTC[2] := MyPTCType.create ("MyPTCwNameAndLocation", "Myhost1");
vl_PTC[3] := MyPTCType.create (-, "Myhost2");
vl_PTC[4] := MyPTCType.create (-, "Myhost3") alive;
vl_PTC[5] := MyPTCType.create (-, "192.168.0.1") alive;
...
}

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0003794 | closed | Ina Schieferdecker | Support for deployment

Attached Files |

Issue History
Date Modified | Username | Field | Change
24-11-2006 14:39 | Stephan Schulz | New Issue |
24-11-2006 14:39 | Stephan Schulz | Clause Reference(s) | => -
24-11-2006 14:39 | Stephan Schulz | Source (company - Author) | => dr. György Réthy, Ericsson
24-11-2006 15:03 | Stephan Schulz | Note Added: 0000330 |
15-06-2007 19:13 | Stephan Schulz | Status | new => assigned
15-06-2007 19:13 | Stephan Schulz | Assigned To | => Ina Schieferdecker
13-10-2007 19:26 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Jens Grabowski
15-10-2007 12:31 | Ina Schieferdecker | Note Added: 0003607 |
18-10-2007 11:35 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)
18-07-2008 10:29 | Jens Grabowski | Note Added: 0006331 |
18-07-2008 10:30 | Jens Grabowski | Assigned To | Jens Grabowski => Ina Schieferdecker
18-07-2008 10:30 | Jens Grabowski | Resolution | open => won't fix
18-07-2008 10:37 | Ina Schieferdecker | Status | assigned => closed
12-12-2008 16:01 | Ina Schieferdecker | Relationship added | related to 0003794

Notes

(0000330)
Stephan Schulz
24-11-2006 15:03

To be discussed in respect of deployment in general

(0003607)
Ina Schieferdecker
15-10-2007 12:31

How does this parameter effect other parts of TTCN-3? It has relation to external PTCs, to invoke test cases, etc. If so, it should also be supported by execute. If so, it should also be added to TCI. It should be considered in the general area of test deployment/configuration - i.e. as wider scope and better to be considered in STF 2008.

(0006331)
Jens Grabowski
18-07-2008 10:29

The STF agreed that this CR won't fix. Deployment should be handled in a larger context. A general CR on support for deployment will be issued.